Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2025-09-09 21:57:36

giz
Plugin Author
From: New Zealand
Registered: 2004-07-26
Posts: 380
Website GitHub Twitter

all-grid, a flexible theme for Textpattern

(Earlier discussion here).

After using all-grid on a few client sites, I’ve found it’s a time-saver when developing a new design, but I always end up adding-to and modifying the code more than I’d like by the time the website goes live. Different clients, differing needs.

I’ve just completed a re-write in an attempt to find a happy medium, and documented its features and how it integrates with Textpattern.

all-grid

Offline

#2 Yesterday 06:21:26

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

Re: all-grid, a flexible theme for Textpattern

I’ve only briefly looked around, but lots of good ideas in there 👍


TXP Builders – finely-crafted code, design and txp

Offline

#3 Yesterday 19:29:08

giz
Plugin Author
From: New Zealand
Registered: 2004-07-26
Posts: 380
Website GitHub Twitter

Re: all-grid, a flexible theme for Textpattern

I’m interested to hear how others approach building a new site.

Do you have a set install of a customised theme/plugins/css, or do you roll it using a base install and build it up incrementally from scratch?

.

Is Override form regularly implemented? I find it very useful, but with gotchas requiring allowoverride="0" scattered in misc/head.txp, pages/default.txp and elsewhere.

My approach looks messy:

<txp:if_article_list>
  <txp:article status="sticky" form="feature" … />
  <txp:article listform="thumb" allowoverride="0" … />
<txp:else />
  <txp:article … />
</txp:if_article_list>

compared to this:

<txp:article status="sticky" form="feature" … />
<txp:article listform="thumb" allowoverride="0" … />

which won’t work unless every overridden form used has its own <txp:if_article_list>…<txp:else />…</txp:if_article_list> logic. I didn’t take that route, as I feel its just dead-weight and extra complexity if Override form is never used.

Offline

#4 Yesterday 21:06:40

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,928
Website GitHub

Re: all-grid, a flexible theme for Textpattern

Didn’t we used to have the ability to use both form and listform in the same article tag, and Txp would choose the right one depending if it’s in article list vs individual article context?

Has that gone by the wayside?


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

Board footer

Powered by FluxBB