Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-01-07 07:39:55
- Paxton84
- New Member
- Registered: 2008-01-07
- Posts: 6
Problems with navigation from individual articles
I am having problems with my site, specifically with navigation once I click on a permlink to an full individual article. My site navigation works fine from my about, portfolio (all art areas), (the link page is not created), and even from the “blog” page. Problems arise when you go to the blog page and click on a link to read the full article. Here are the following links that can be determined once you are on the page for the Art & Fear Article for example (http://www.paxtontatum.com/blog/art-fear):
http://www.paxtontatum.com/blog/about
http://www.paxtontatum.com/blog/portfolio
http://www.paxtontatum.com/blog/links
http://www.paxtontatum.com/blog/blog
Clearly this is not right, since I would like to link back to the about, portfolio, links, or main blog page and not the blog——- page! I know this is probably a simple fix, but I’m totally at a loss how to fix it.
My site structure is set up for an about page, portfolio page (w/sub pages), a links page, and the blog page with articles and individual articles. The following is the code from my blog page:
<txp:output_form form=“meta” />
<body>
<div id=“page_wrapper”>
<div id=“header”>
<div id=“about”>
<a href=“about”></a>
</div>
<div id=“portfolio”>
<a href=“portfolio”></a>
</div>
<div id=“links”>
<a href=“links”></a>
</div>
<div id=“blog”>
<a href=“blog” class=“active”></a>
</div>
</div>
<div id=“content”>
<div id=“main_content”>
<txp:if_individual_article>
<txp:article_custom form=“blog_entry”
section=“blog” />
<txp:else />
<txp:article_custom form=“blog_entry_excerpt”
section=“blog”/>
</txp:if_individual_article>
</div>
<div id=“side_content”>
</div>
</div>
<div id=“footer”>
<txp:output_form form=“footer” />
</div>
</div>
</body>
</html>
Any help would be great!!!!!!!!
Offline
Re: Problems with navigation from individual articles
If i understund you, you want to click on About link in http://www.paxtontatum.com/blog/art-fear and then go to http://www.paxtontatum.com/about but now it goes to http://www.paxtontatum.com/blog/about ! if this is a question the answer is in your link to about:
<div id=“about”> <a href=“about”></a> </div>must become :
<div id=“about”> <a href=“/about”></a> </div>Cheers
Offline
#3 2008-01-07 08:05:13
- Paxton84
- New Member
- Registered: 2008-01-07
- Posts: 6
Re: Problems with navigation from individual articles
Excellent! This works perfectly. Now I just need to come up with a working archive solution for my site, any suggestions?
Offline