Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Creating Unique Section Landing Page -- How?
Jeff I am sure you know your code and it looks pretty slim. Still I wouldn’t point people directly towards a plug-in.
For the life of me, I can’t figure out how to prevent the article list from displaying, while showing the grid I’ve designed. I know I need to use an if/else statement, but which one? There is no “if_section_landing_page” tag!
Sorry, but the main point in #1 is that Josh is asking how to get rid of that article list.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: Creating Unique Section Landing Page -- How?
merz1 wrote:
Jeff I am sure you know your code and it looks pretty slim. Still I wouldn’t point people directly towards a plug-in.
I’m not an “anti-plugin fanboy” ;)
Sorry, but the main point in #1 is that Josh is asking how to get rid of that article list.
And the way to do that is, whether with core or plugin, set up the right conditional. As he had noted, “There is no “if_section_landing_page” tag!” Use the right tool for the job. When you need to treat all the cases in Els’s code separately, that’s the answer. Otherwise, it is Txp tag soup and a maintenance and debugging headache.
Code is topiary
Offline
Re: Creating Unique Section Landing Page -- How?
/me dreams of a landingform
attribute for <txp:article />
(short of that, Jeff’s plugin is the way to go!)
Last edited by Bloke (2010-10-27 15:30:43)
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: Creating Unique Section Landing Page -- How?
I’m not an “anti-plugin fanboy” ;)
Point taken. And I appreciate the pg
attribute (and Multidoc etc.).
/me dreams of a
landingform
attribute for<txp:article />
Well, then we have a feature request for TXPs future … waiting for the specification :)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline