Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Managing themes
I was not in touch with themes, just read themes on textbook.
Just an idea, not more not less:
How about to add a table txp_themes to db including all themes with pages, forms and css.
And if a theme is activated, copying all entries belonging to that theme to txp_page, txp_form and txp_css.
The themes themselfe are not included to txp-core, but using txp for the acitive one.
That should match to the requirements in textbook
Offline
Re: Managing themes
If you want to test it without erasing all your hard work, we we’ll need a automated backup system for existing pages-forms-etc.
And in that system, how do we take a small bit from a theme, another bit from another theme, and so on ?
Offline
Re: Managing themes
Are you working on a theme manager or who does?
Offline
Re: Managing themes
Look on the persistent post on this forum, and this thread. We are taking the first steps to describe it fully, so that a dev may code it.
Offline
Re: Managing themes
Opps, next time i first read and the write :)
Offline
#6 2006-02-23 21:56:20
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Managing themes
we’ll need a automated backup system for existing pages-forms-etc.
Once possibility is that we make every page/form/css belong to a theme. Including user-created stuff, not just those installed via the theme manager. Existing things go in “my site theme” or similar. The user can create a new theme at any time, and copy things from one theme to another.
Perhaps we could also make it possible to refer to things in other themes, e.g. form="othertheme.headline".
Last edited by zem (2006-02-23 21:58:10)
Alex
Offline
Re: Managing themes
Everything belong to a theme, that would work but need some careful UA work not to confuse the beginners.
The idea of refering outside the loaded theme is quite nice however :)
Offline
Re: Managing themes
I like the idea of everything belonging to a theme. And no one seems to have much of problem with that concept in Wordpress if you look at the endless numbers of kubrick sites out there.
I think it could simplify management tremendously specially if one could copy pages/forms/styles between themes or the theme as a whole to start a new variant. Seems much simpler then managing revsions or backups.
Shoving is the answer – pusher robot
Offline
Re: Managing themes
I like the idea of everything belonging to a theme also, that’s what I’ve become accustomed to in Nucleus.
In Nucleus, a skin/template combination is an XML file that is imported via the admin area. Unlike TXP, the CSS is kept on disk along with the images in a seperate /skins/ subdirectory. A skin in Nucleus is like a page in TXP and a template is a form, very similar methods to achieve a unique design.
Last edited by hcgtv (2006-02-23 23:20:12)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Managing themes
<blockquote>zem wrote:
Once possibility is that we make every page/form/css belong to a theme. Including user-created stuff, not just those installed via the theme manager. Existing things go in “my site theme” or similar. The user can create a new theme at any time, and copy things from one theme to another.
Perhaps we could also make it possible to refer to things in other themes, e.g. form="othertheme.headline".
</blockquote>
These are both very nice ideas!
But if the sections are separated from this (as you are talking about pages, forms and css) I think it’s going to be confusing for beginners.
Last edited by Skubidu (2006-02-24 08:39:47)
Offline
#11 2006-02-24 16:13:12
- NyteOwl
- Member

- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: Managing themes
I already have a headache ;p
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
#12 2006-02-26 00:37:53
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Managing themes
But if the sections are separated from this (as you are talking about pages, forms and css) I think it’s going to be confusing for beginners.
Can you elaborate on this? Why is that confusing, exactly? For end users or template designers? What would the alternative be, and how would that be less confusing?
Alex
Offline
Re: Managing themes
Maybe because sections are labeled “presentation” in the backend (of course it’s really not the case, but you won’t learn that until you have quite toyed with TXP :p) and in some beginners mind a theme include all things “presentation” ?
However, I don’t quite share the sentiment, and more and more disagree with my first assessment of the would-be tool. Sections in it might very well be a bad idea.
Offline
Re: Managing themes
Can you elaborate on this? Why is that confusing, exactly? For end users or template designers? What would the alternative be, and how would that be less confusing?
Okay, I’ll try :)
The presentation is separated in two parts: The webdesign (pages, forms, styles) und the webstructure (sections). So if you just take the webdesign you will need to give many advices for the user how to set up the webstructur / the sections. It might help to have new tags that output certain navigation elements, but what about special subpages (about, colophon) or something which you have to set up manually as section. What about the section settings, too? What to show on frontpage etc. That might be important for a theme, too (mostly if the themes are getting more complicated). It’s not a problem for a advanced user to handle all this but I think most of the theme users will be newbies.
If only pages, forms and styles belong to a theme, what happens if you switch? Different themes need different section settings…
So, you ask about an alternative. Well, I have to say, I don’t know. I don’t say your idea is bad, but I remember all the question we had and have on the German TXP Blog and that why I supose that there will be some new user problems.
Hope you understand what I’m trying to say – it a difficult topic and it’s not so easy to explain the own thoughts in a forreign language if you’re not quite sure about a solution yet.
Offline
#15 2006-02-26 09:32:41
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Managing themes
I don’t really think it’s the job of a template (or template designer) to specify the site structure. Sure, link to special sections (about, contact) if they exist; but I don’t think a template should come with a “create sections” step, whether it’s automatic or manual.
Alex
Offline