Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Default Page and Style
While working on a new template for my site, I came across an idea that could make our lives easier.
Since I was using the default template on the site, I wanted to create a new one rather than overriding the default page and style. So I gave it another name but every time I entered the Pages or Style tab, my cursor was sitting in the default’s textarea.
What I propose is to default to whatever Page or Style you select on the Sections tab for the Default in the Uses page: and Uses style: drop downs.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Default Page and Style
you can always save the ‘default’ to something else (as a backup), and then use/edit the ‘default’.
As I understand, the concept for the ‘default’ template is: use this template for everything on the site, except when overridden for a specific page/section.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
#3 2006-11-26 23:58:54
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Default Page and Style
As I understand, the concept for the ‘default’ template is: use this template for everything on the site, except when overridden for a specific page/section.
Yep.
Offline
Re: Default Page and Style
That’s what I did, copied the old default and used the new default for the site.
If I follow both your thinking, then why even have?
Default
Uses page: ?
Uses style: ?
Since the above config fields exist, then why not use them to control our Pages and Styles editing session?
Edit: Would a plugin be able to do this?
Last edited by hcgtv (2006-11-27 02:51:34)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#5 2006-11-27 02:56:03
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Default Page and Style
If I follow both your thinking, then why even have?
That is a relatively new feature; also notice you can’t delete “default” either, regardless of that setting.
Offline
#6 2006-11-27 03:09:13
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Default Page and Style
By the way: r2097.
Offline
Re: Default Page and Style
r2097 is cool, can the same be done to txp_css.php?
Mucho appreciado!
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Default Page and Style
r2100 is way cooler, thanks Mary.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Default Page and Style
…Very good idea hcgtv!
…And Thanks lot Mary!
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline