Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Article list and detail page
Hi all,
sorry, it’s been a while since I used textpattern for the last time so this is probably a really srtupid question; I know that I did it before but I just cannot remember how.
I want to have a list of article list on the ‘section homepage’ and a detailed article view once you click the link from that article list.
The urls would look like /deelnemers and /deelnemers/articlename. (I got that bit working.)
At the moment I have the following code to display the list: (where the form deelnemers_list simply produces a link list)
<txp:article_custom form="deelnemers_list" pgonly="0" sort="Title asc" />
I would like to use the default form to display my detailed article. How do I tell textpattern to do this… At the moment clicking on a link simply loads the same page again, although the url changes…
Thanks,
dl33
Offline
Re: Article list and detail page
Hi
you must use txp:if_article_list and txp:if_indivdual_article to switch between the two option (look at textbook)
Cheers
Offline
Re: Article list and detail page
Thanks, I knew that it was something simple…
Offline
Pages: 1