Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2006-01-23 00:12:37
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Navigation Not Working On All Pages
You have a fairly complex template that involves a plugin, and a copy of Textpattern that’s configured in a manner known only to you.
Debugging is an iterative process. You change something, observe the effect of that change, and decide what to do next. Narrow the problem down to a single tag, one step at a time. Looking at a single page or tag trace isn’t enough: you need to see at the differences between them.
The FAQ entry describes the techniques, it’s up to you to use them.
Alex
Offline
Re: Navigation Not Working On All Pages
Debugging is an iterative process. You change something, observe the effect of that change, and decide what to do next. Narrow the problem down to a single tag, one step at a time. Looking at a single page or tag trace isn’t enough: you need to see at the differences between them.
uhm, yeah, I have – and I’ve done my best to provide information about my results to those willing to help . But thanks.
It’s an issue that has evolved from a previous thread:
http://forum.textpattern.com/viewtopic.php?id=14137
I’m certain your response wasn’t meant to be abrupt or a rebuke for my request for assistance. I’ve tried to be courteous and helpful with those helping me. If there is something else I should be doing, then maybe you should let me know. Textpattern is new to me but I’m not a fool. I’ve tried to solve the problem with all of the tips and information available on the website and in the forums. I couldn’t solve it myself, the textpattern learning curve got the better of me – and so far all who have been kind enough to help me with this issue. Your response says to me “No one can help you. Just read the FAQ and piss off”. If that is the case then maybe you’re right and Textpattern is not for me.
My problem seems a simple one. The default page out of the box works when it is the default page of the site, but not when it is the default page of a section . Has anyone else encountered this issue, and if so how did you solve it?
Last edited by The Human Museum (2006-01-23 05:29:40)
“I was born to hustle roses down the avenues of the dead.” – Charles Bukowski
The Human Museum
Offline
#15 2006-01-23 06:04:00
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Navigation Not Working On All Pages
Your response says to me “No one can help you. Just read the FAQ and piss off”.
It’s not meant like that. Just laying out the facts: we can’t see things change the way you can. You have far more information about the problem than we do. You’re in a position to debug, we’re not.
We can help out with specific, clearly described problems. This is getting closer:
My problem seems a simple one. The default page out of the box works when it is the default page of the site, but not when it is the default page of a section . Has anyone else encountered this issue, and if so how did you solve it?
What exactly isn’t working, with the default page template?
Alex
Offline
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