Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
chh_article_custom or TXP bug?
I noticed a strange little behaviour while working with the wonderful chh_article_custom plugin. I am using clean URLs.
On my page, I have
<code>< txp:chh_article_custom limit=“1” form=“individual” / ></code>
which displays one article like it should.
However, when the page gets displayed the first time (when you enter the section as in http://www.server.com/section), the article uses the default form, not the one I set up (“individual”). Only when the page gets displayed with a certain article chosen (http://www.server.com/section/01/article-title), the correct form gets displayed.
Am I thinking wrong or is this indeed not right?
And yes, the section calls the correct page.
Last edited by jhaeusler (2004-10-14 21:06:34)
http://ww.spreeblick.de, a weblog from Berlin
Offline
Re: chh_article_custom or TXP bug?
Try adding the attribute listform since that is used when you request a whole section. Like so: listform="individual"
.
Plugins:
ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
Re: chh_article_custom or TXP bug?
I understand. I thought I have to avoid listform whenever chh_article_custom should display an individual article, but of course the limit takes care of that as well.
It works perfect.
Thank you very much, again. Or, since it is the only swedish word I know:
Tak.
http://ww.spreeblick.de, a weblog from Berlin
Offline
Pages: 1