Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 Yesterday 20:53:55

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,996
Website GitHub

Re: all-grid, a flexible theme for Textpattern

etc wrote #340515:

Might be a good example of using conditional tags in the ‘single’ form.

Not sure I follow you. Can you explain?

Do you mean semantics or the single tag feature itself?

I meant having the additional attribute values allowoverride="form" and allowoverride="listform".


TXP Builders – finely-crafted code, design and txp

Offline

#14 Today 09:04:51

etc
Developer
Registered: 2010-11-11
Posts: 5,462
Website GitHub

Re: all-grid, a flexible theme for Textpattern

jakob wrote #340530:

Not sure I follow you. Can you explain?

I mean allowoverride ='<if::individual_article />' is clear enough, once you know that the tag returns 1 or empty string.

Offline

#15 Today 09:45:16

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,996
Website GitHub

Re: all-grid, a flexible theme for Textpattern

Bloke wrote #340513:

For the time being, yes please.

Done – txp:article and txp:article_custom


TXP Builders – finely-crafted code, design and txp

Offline

#16 Today 09:46:33

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,996
Website GitHub

Re: all-grid, a flexible theme for Textpattern

etc wrote #340535:

I mean allowoverride ='<if::individual_article />' is clear enough, once you know that the tag returns 1 or empty string.

Ah right: I thought you might be making a tantalizing hint at some other use case I haven’t thought of.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB