Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Navigation Not Working On All Pages
When the out of the box default page is the default page of a new section the posts and navigation don’t show up. The site title and two sidebars are fine, just no content in the middle where the posts and subsequent naigation should be. I also made sure that the default page was calling the out of the box default article form.
If I can get this issue solved with the out of the box page I’m hoping it would give me an idea on how to have the page call a custom article form.
“I was born to hustle roses down the avenues of the dead.” – Charles Bukowski
The Human Museum
Offline
Re: Navigation Not Working On All Pages
here’s a screenshot
http://static.flickr.com/36/90088903_4dd74c0011_o.jpg
“I was born to hustle roses down the avenues of the dead.” – Charles Bukowski
The Human Museum
Offline
#18 2006-01-23 06:27:17
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Navigation Not Working On All Pages
Can you post a tag trace from that page please? (The section page that’s shown in the screenshot)
Alex
Offline
Re: Navigation Not Working On All Pages
http://static.flickr.com/16/90107366_386e72df88_o.jpg
The line that gets cut off on the screenshot reads :
<code>[SQL (0.000326): select *, unix_timestamp(Posted) as uPosted from `textpattern` where 1 and Status=‘4’ and Posted < now() and Section = ‘browse’ order by Posted desc limit 0, 10]</code>
“I was born to hustle roses down the avenues of the dead.” – Charles Bukowski
The Human Museum
Offline
#20 2006-01-23 09:51:05
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Navigation Not Working On All Pages
The content problem: it looks as though you have no Live articles in the ‘browse’ section. If you do have articles in that section, they’re probably either not Live, or have timestamps in the future.
Older and Newer aren’t displaying because there are no older or newer articles (I assume these are the navigation links you’re talking about). Try adding 11 articles to that section and see if it makes a difference.
Last edited by zem (2006-01-23 09:54:26)
Alex
Offline
#21 2006-01-23 14:46:51
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Navigation Not Working On All Pages
zem wrote:
The content problem: it looks as though you have no Live articles in the ‘browse’ section.
Ah, could it be because you are only displaying articles from other sections???
Offline
Re: Navigation Not Working On All Pages
Is it necessary to attach all of my posts to the “browse” section? Ideally want to keep them attached to “articles”, I only want to display them on a different page. The root of the problem is this: I want to have the front page of my site styled a certain way and have another page where readers can navigate a series of posts like the out of the box default page. The front page was no problem, I created a page called “home” and made it the default page via the top of the admin “sections” tab. For the navigable post page the only way I could do that was to create a new page. Then in order for that new page to show up I had to attach it to a section – “browse”. Once I did so the default page stopped working like it did when it was the site’s default. But now if I attach all of my posts to the “browse” section so I can have that navigable list of posts don’t I lose the single page/single post output of the permalink page that is currently enabled by having them attached to the “articles” section? Is there a way to have both – or to style the articles section to show both a navigable list in one context and a permalinked page in another?
Last edited by The Human Museum (2006-01-23 14:55:44)
“I was born to hustle roses down the avenues of the dead.” – Charles Bukowski
The Human Museum
Offline
#23 2006-01-23 15:12:07
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Navigation Not Working On All Pages
Is there a way to have both – or to style the articles section to show both a navigable list in one context and a permalinked page in another?
On your page template for the articles section:
<code>
<txp:if_article_list>
your code for the article list that is now on the ‘browse’ template
</txp:if_article_list>
<txp:if_individual_article>
article tag for individual article
</txp:if_individual_article>
</code>
Have I really been overlooking this all this time? ;)
(instead of <txp:if_article_list> you could also use <txp:glx_if_section_frontpage>, but why should you?)
Offline
Re: Navigation Not Working On All Pages
shazaam!
That’s it. I’m kicking myself for overcomplicating things now, lol. Many many many thanks guys.
“I was born to hustle roses down the avenues of the dead.” – Charles Bukowski
The Human Museum
Offline
#25 2006-01-23 15:26:23
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Navigation Not Working On All Pages
Yay! :)
Offline