Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-31 14:55:28

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

permlink strangeness

Hello,
Having a problem with articles not populating in the correct page templates after a permlink in an article listings is clicked.

The page templates are using the same code to generate the listings the only difference is that the section changes.
All pages are using the same form and the individual article categories and sections are set up the same way.

Heres and example of the listings code

<txp:if_individual_article> <txp:article/><txp:else /><txp:article section=“theatre” excerpted=“y” form=“article_list” /></txp:if_individual_article>

Heres an example of a page that works-follow the deathwish link.
http://www.eaf.textdriven.com/theatre/deathwish#

Heres an example of a page that doesnt follow the ponygirls link
http://www.eaf.textdriven.com/music

any hints?

its a bad hen that wont scratch itself.
photogallery

Offline

#2 2007-05-31 16:30:35

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: permlink strangeness

<txp:article /> doesn’t have attribute section, you should use <txp:article_custom /> if you need to display a specific section.

Offline

#3 2007-05-31 17:39:29

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: permlink strangeness

ah thank you els


its a bad hen that wont scratch itself.
photogallery

Offline

Board footer

Powered by FluxBB