Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Static Pages
Do like: Easy way to get more depth.
Dont’ like: Adding different static content models. Too much complexity, especially thinking about extra tags. Generic feels better. I even like the idea of banishing the concept of a section and just using a tree of articles for everything.
But I’m a bit biased, since I started doing some sites with another CMS/F that works that way.
Edit: BTW, I’ll bet Sam W. has some ideas. He’s done a lot of thinking on this with Escher.
Last edited by maruchan (2011-12-17 04:01:47)
Offline
Re: Static Pages
Another proposal: Keep it simple
New feature: Relate category (metadata) and one (standard) article via article ID.
(The same works for sections or other content types)
In category context the content from the related article ID is fetched.
Standard article_custom tag fetches the related article ID and handles the output.
Advantage: You won’t need complex txp:if_category (or if_article_category?) if/else spaghetti code trees.
Advantage: Clients can handle the articles (and don’t have to mess with pages and forms).
Default: No related article ID = no output. The same for empty fields.
Optional: If the article should be handled in a special way admin stores it in a different section.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: Static Pages
I use today more and more sections like “content type”
To repeat the example of Destry, I created sections
- FAQs
- Book reviews,
- Quotes
- Blog posts
- White papers
- interviews
with rah_write_each_section I propose that the user can choose the content he wants to create and customize the write the with bot_wtc for each type of content.
The most common types of content and sections of the site are the same, but sometimes you have to find something other than the sections for cutting sections of the site. I then use directly the categories as sections and keywords as categories.
What I miss is good to immediately add custom_fields to categories and sections. I always look forward to the development of the plugin “eql_section_sort”. But I think it will never happen.
Offline