Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Themes
phiw13 wrote #338857:
client(s) usually get some more rights, how else would they manage the website (add user, … … …)?
True. If you can think of a way the interface could sanely help here, by all means raise ideas.
We need to maintain “you are currently editing theme xyz” in the pages/forms/styles panels. And maintain the dev/live lane views for everyone who is/isn’t logged in, respectively. Toggling per section as I outlined above might work, but if you have a lot of sections it’s far quicker to hop to the prefs and temporarily turn off the developer preview.
Ideas welcome.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Offline
Re: Themes
etc wrote #338839:
There is a per user
Enable development theme preview?pref, so you can create two admin users and open two parallel sessions (in isolated browsers or tabs).
I’m trying to find the preference again, and I cannot find it. I’m currently using Textpattern version: 4.9.0-dev (be3772418aba616fdd3df5b550bdd4db)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Themes
Yiannis,
Preferences > admin > at the bottom.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Themes
phiw13 wrote #341124:
Yiannis,
Preferences > admin > at the bottom.
Thanks!
I’m blind as a bat.
The next question is how can I assign which theme I’m previewing? I have 3 themes, the live one, another one which I’m developing long term, and a third one which I’ll be doing short term work. At the moment, the long term dev theme is previewed but I would like to preview the short term one.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Themes
Assign the short-term one to any section and then view that section. There can only be two themes assigned to a section – one live lane and one dev lane.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Themes
Here’s a step-by step with what I’m attempting.
- I go to themes.
- I click on the “assign sections” of the short term theme.
- I select a section using the checkbox (but also tried it by clicking the section’s title).
- I assign a section and a page from my dev pages, but instead of the page being assigned only for that them, it is also applied globally. ie for the particular section in my other dev theme and for my live site.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Themes
If you click the section title and go into edit mode, that always acts on the live lane, because there’s no split view option on that edit step.
If you want to assign dev assets you must do it from the multi-edit tool on the Sections panel:
- select one or more sections to apply your changes to.
- choose multi-edit Change theme/page/style.
- ensure the Development chceckbox is ticked and the Live is unchecked.
- choose your page template and/or stylesheet from the drop-down. If it’s set as ‘*’ then it leaves that asset alone.
- click Go and confirm.
That will assign the chosen assets to the selected sections. As long as your Allow developer preview pref is on, you’ll see the dev assets when logged in.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Themes
Thanks so much Stef,
The process is slightly non-intuitive but it works once you go through it.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#22 Today 06:38:33
Re: Themes
I have a last question on this. How do I delete the dev theme after moving (copy/pasting) it to the main branch of the site?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline