Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2006-02-26 09:43:46

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: Managing themes

Well, that’s the problem: perhaps templates shouldn’t specify the site structure but often they do. I think you’re right that templates should not come the a “create section” step. But if you separate both, there will still be the step, that the user will have to assign a different page to a section if he switches a theme. There is a strong connection between the section structure and the design.

I’m sure your concept will work, but we should be aware, that some steps of the complete installation might not be that intuitive for newbies…

Offline

#17 2006-02-26 10:08:36

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Managing themes

But if you separate both, there will still be the step, that the user will have to assign a different page to a section if he switches a theme.

Not necessarily. Themes could use standard names for common page template types. When I switch from one theme to another, all the sections that were set to use the “static” template in the old theme automatically use the “static” template in the new one. Same for “default”, “weblog”, “contact”, “gallery”, etc.


Alex

Offline

#18 2006-02-26 10:14:37

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: Managing themes

Ah, okay! So, this sounds like some kind of “Template API” ;)
But then, these pages (and connected sections) should be in the standard template, too. So that a new user doen’t has to set up the section.

Another option: If you install a template, Textpattern asks if it should create all necessary sections. This would be newbie friendly but could be skipped be advanced users… Just as an idea…

Last edited by Skubidu (2006-02-26 10:15:14)

Offline

Board footer

Powered by FluxBB