Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [SOLVED] Txp serving template from different theme than the 1 selected
I’ve made some tests, please discuss. If we introduce a fine-tuned dev themes preview, we will be able to set, jointly or separately, sections theme, page and style:

As you see, one could test a new page/stylesheet without creating a new theme.
We would also be able to switch via the multiedit widget public assets to dev (or inversely) when the work is done.
Offline
Re: [SOLVED] Txp serving template from different theme than the 1 selected
What a great idea! I love the struck-through content as it makes it clear what’s visible to the masses and what’s being overridden by your logged-in status. And the ability to test a second stylesheet or page without creating a new theme is genius. Love it.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: [SOLVED] Txp serving template from different theme than the 1 selected
Thanks Stef, great if you like it. I will then run more thorough tests and commit it shortly.
Offline
Re: [SOLVED] Txp serving template from different theme than the 1 selected
FWIW
etc wrote #314108:
I’ve made some tests, please discuss. […]
FWIW I like it too, but I was not sure about the way it is displayed. I’m now thinking that the use of a line through is disturbing for me; it seems to tell about something removed or broken, not disabled. I would suggest the use of something more consistent with the way the disabled items (I’m thinking about inputs) are styling by default, just making the text ligthter. What do you think?
Edit: here is an example… sorry for the weird names !

Last edited by NicolasGraph (2018-09-21 07:24:06)
Offline
Re: [SOLVED] Txp serving template from different theme than the 1 selected
Thanks Nicolas, I get your point. The “overridden” items are wrapped in <del></del> tags but not disabled. I think that’s semantically correct and would leave the styling with admin theme authors.
Offline
Re: [SOLVED] Txp serving template from different theme than the 1 selected
etc wrote #314118:
Thanks Nicolas, I get your point. The “overridden” items are wrapped in
<del></del>tags but not disabled. I think that’s semantically correct and would leave the styling with admin theme authors.
Ok Oleg, thanks. Indeed, that makes sense.
Offline