Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Tag architecture challenge for complex conditional output
Destry wrote:
I’ll get something setup with a couple sample plugins as demo.
That’d be brilliant, thanks. Once the area has a home I’ll start populating it and extend it to other plugins. Maybe there could be an optional section on each page that houses a few examples of usage too (for those plugins that have tags). Not sure if that has merit or not.
Last edited by Bloke (2013-10-09 08:06:25)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Tag architecture challenge for complex conditional output
Bloke wrote:
Maybe there could be an optional section on each page that houses a few examples of usage too (for those plugins that have tags). Not sure if that has merit or not.
Definitely has merit. Examples are critical for plugin understanding.
Btw, getting back to the fallout of this thread. If I understand correctly, there would not have been as much hair loss if my sticky article had simply been named “Articles default”, for example? And if I used that then I could use native tags for the basic landing conditional setup instead of smd_if? (Not that there’s anything wrong with smd_if, mind you.)
Last edited by Destry (2013-10-09 08:22:35)
Offline
Re: Tag architecture challenge for complex conditional output
Destry wrote:
Btw, getting back to the fallout of this thread. If I understand correctly, there would not have been as much hair loss if my sticky article had simply been named “Articles default”, for example? And if I used that then I could use native tags for the basic landing conditional setup instead of smd_if?
Correct. I changed the article title for the ‘articles’ Sticky and reverted to <txp:if_individual_article>
in the tmpl-main-articles
Form for testing. Worked out OK so you can ditch the smd_if malarky if you rename all your Stickies to something other than the section name.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Tag architecture challenge for complex conditional output
Good to know. Thanks!
Offline