Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2009-09-12 12:52:17
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: Best way to create single article landing page for section
I use the “sticky” method as well, but in conjunction with <txp:if_individual_article>
. Thus my solution is kind of the inverse of Els’. For instance:
<txp:if_individual_article>
<txp:artlce />
<txp:else />
<txp:article status="sticky" /> <-- section landing page content; can be accompanied by other forms or conditionals like <txp:if_category>
</txp:if_individual_article>
Kevin
(graphicpush)
Offline
Re: Best way to create single article landing page for section
Thanks,
I went with the glx_if approach, using <txp:glx_if_section_frontpage> as it is clean and obvious, other approaches require nested conditions. I will probably return to one of these native approaches if I find any issues with the plugin.
Just upgraded to 4.2.0 and still no issues. Looking forward to sharing this eCommerce site I’m building when it is done!
-Mark
kevinpotts wrote:
I use the “sticky” method as well, but in conjunction with
<txp:if_individual_article>
. Thus my solution is kind of the inverse of Els’. For instance:
<txp:if_individual_article>
<txp:artlce />
<txp:else />
<txp:article status="sticky" /> <-- section landing page content; can be accompanied by other forms or conditionals like <txp:if_category>
</txp:if_individual_article>
Offline