Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-12-10 02:05:08
- finch
- New Member
- Registered: 2008-07-15
- Posts: 4
No Article Tag on 'Default' page Causing No Category Listing
My site: Finch Studio – the problem is on the ‘blog’ part of the site, clicking on category types within that /blog/ page
I just updated the layout on my site and I want to have an index.php page that does not have any articles on it and is different [in appearance / styling] slightly from the rest of the pages on my site. Currently, the index page is fine – pulls some content from my links and has some static text.
My main problem lies in my blog section of my site – all of my articles are in the ‘blog’ section. I’m using the ‘blog’ page for the main listing of these articles.
I’m confused on how to word this properly, but the error that I get when I go to debugging mode [after trying to get to a category page from beneath a blog article]:
Tag error: -> Textpattern Notice: Page template default does not contain a txp:article tag on line 464
textpattern/publish.php:464 trigger_error()
index.php:39 textpattern()
I know that my default page doesn’t have an article tag in it – I don’t want articles showing up on that page, but I do want to be able to click on a category and essentially have the ‘blog’ page be the look of that category page.
—
My thoughts: Should I just call it a day and have a static index page and not do it through textpattern or is there a way to get what I want? Any clarification questions that you have that will help, feel free to ask, I’m never good at wording these things.
Last edited by finch (2008-12-10 02:07:30)
Offline
Re: No Article Tag on 'Default' page Causing No Category Listing
in your default template, you can have a txp:article tag in between txp:if_category tags. that way they get shown when you+re in a category page, but not on the front page
hope i understood correctly :)
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#3 2008-12-10 22:18:50
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: No Article Tag on 'Default' page Causing No Category Listing
TXP uses the front page by default for category lists, unless you tell it otherwise by using the section
or this_section
attribute in category_list.
Offline