Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Offline
Re: themes on 4.8beta
Destry wrote #321155:
That’s kind of how I thought the preference worked, to be honest, which is why I was having some trouble understanding the need for the ‘Live’ check box.
Sorry for the confusion. With ‘dev preview’ disabled you were still able to follow theme development on the admin side, but would be served ‘live’ version on the public side. If enabled, you get ‘dev’ version on public side too.
Offline
Re: themes on 4.8beta
Oh right. That sounds familiar. I think one of you explained that to me before in repo threads.
Offline
Re: themes on 4.8beta
Okay, I’ve promoted the developer preview options to first class citizens on the multi-edit dropdown. Please test.
If this is okay, the switch_dev_live string can be removed.
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: themes on 4.8beta
Bloke wrote #321159:
Okay, I’ve promoted the developer preview options to first class citizens on the multi-edit dropdown. Please test.
If this is okay, the
switch_dev_livestring can be removed.
That is of course a little tricky. What does it means “Deploy/Reset to Live” for a section that already is set to use a Live theme?
In the screenshot, 2 sections are already live and using the Live theme. The top one is still on Dev.

p.
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 on 4.8beta
phiw13 wrote #321160:
What does it means “Deploy/Reset to Live” for a section that already is set to use a Live theme?
Nothing. It’ll be ignored. Same way as, before the commit, you could:
- Select a bunch of sections (some dev, some live as in your example).
- Choose ‘Developer preview’ from multi-edit.
- Pick Deploy to live to push dev->live themes on those selected sections (and ignore the ones that had no dev).
- Pick Reset to live to ditch the dev themes on those selected sections (and ignore the ones that had no dev).
No change in functionality, it’s just fewer clicks now to achieve the same thing.
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
Offline
Offline
Re: themes on 4.8beta
etc wrote #321168:
without [switch_dev_live] string the wording is fuzzy.
Maybe. If it’s more confusing, I’m fine if the commit is reverted. Just trying it out.
etc wrote #321164:
On a second thought, this state should not be browser-dependent, rather a user preference?
Do you mean a per-user pref that’s automatically updated to store the checkbox states when you perform a change theme/page/style action, as opposed to storing it in localStorage?
Or do you mean a physical pref setting on the Prefs panel?
I’m fine with the former. Not sure the latter would help!
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: themes on 4.8beta
etc wrote #321168:
I second @phiw13, without this string the wording is fuzzy.
:-)
I find it unclear (and I could be considered on the geeky side), In TXP 4.7.3 the “Developper Preview” and subsequent action (2 radios) was conceptually much easier to understand, even if you had a ‘Live’ section included in your selection.
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 on 4.8beta
Bloke wrote #321169:
Do you mean a per-user pref that’s automatically updated to store the checkbox states when you perform a change theme/page/style action, as opposed to storing it in localStorage?
Yes, a hidden server-stored private pref, if any. Now that dev-preview-disabled admins can see and manage only live assets, and ‘dev’ is checked by default for admins involved in dev-preview, storing the checkbox states looks like an overkill.
And I come back to ‘Development’ pill on Sections tab: it should be attached to sections, not themes, or removed.
Offline
Re: themes on 4.8beta
I’m reading the excellent documentation about “Theme” by Destry, and I had a suggestion (see: the ‘In use’ pill indication section here):
The difference by colors for the “In use” notification (green or orange depending of “live” and “In development” theme) isn’t suffisant, IMHO. May be a tooltip attached to these informations could be less confusing (assuming nobody choose a mobile device when configuring a theme).
Last edited by Pat64 (2020-01-17 11:41:03)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: themes on 4.8beta
Bloke wrote #321169:
Maybe. If it’s more confusing, I’m fine if the commit is reverted. Just trying it out.
Do you mean a per-user pref that’s automatically updated to store the checkbox states when you perform a change theme/page/style action, as opposed to storing it in localStorage?
Or do you mean a physical pref setting on the Prefs panel?
I’m fine with the former. Not sure the latter would help!
I think that this has to do with privileges and also, the hopeful future addition of guest privileges. For now, I believe that it would be prudent to keep it as a preference set by designers and over, which can be viewable by all who are logged in.
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 on 4.8beta
etc wrote #321171:
Yes, a hidden server-stored private pref, if any.
Sounds like a plan.
And I come back to ‘Development’ pill on Sections tab: it should be attached to sections, not themes, or removed.
Try it against the section name by all means. I’m not sure, though. The split ‘Theme’ row with the dashed line might look a bit strange or require further explanation if the development pill isn’t there to indicate which is dev vs live.
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: themes on 4.8beta
etc wrote #321171:
And I come back to ‘Development’ pill on Sections tab: it should be attached to sections, not themes, or removed.
With regard to attaching it to section names, I’m not so sure about that. I wouldn’t like that.
With it on the Theme column, it aligns nicely with the assigned assets making it very clear, visually, that is the theme/page/style assiged in development. (It’s better now since you added the ‘None’ value for blank asset selections on new sections.)

Which is also why I don’t think you need a similar ‘Development’ pill on the assets too.
As for removing the pill entirely, I think it could make sense to us long-time people avidly looking at this now, but anyone new to Txp and themes would benefit greatly from such an indicator. I vote keeping it, and not just because I would have to edit these doc images, again (which is not as important as fixing usability first without stepping over into obscurity).
(Btw, I will not be around after today until Monday.)
Offline