Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2020-01-16 22:18:11

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,014
Website

Re: themes on 4.8beta

Bloke wrote #321132:

Yes. imo, it should be Live: unchecked and Dev: checked (by default) but if you change it and commit the action, the state of the checkboxes should be retained in localstorage and applied next time.

Aha! I feel less lonely now. There are the two of us, or make that 3, Destry would really like to change it too.

etc wrote #321150:

Wish I remembered how it works… will try.

Yes please? TY.

Offline

#12 2020-01-16 22:21:53

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,389
Website

Re: themes on 4.8beta

etc wrote #321150:

I have unchecked ‘Live’ checkbox, on popular demand.

/ bows deeply /

The scales are now tipped in the right direction.

Offline

#13 2020-01-16 22:27:14

etc
Developer
Registered: 2010-11-11
Posts: 3,696
Website

Re: themes on 4.8beta

What if we totally remove dev-theme related stuff for admins who have disabled ‘Enable dev preview’ pref? So basically they would be able to manage only live themes?

Edit: it’s a private (per user) pref.

Offline

#14 2020-01-16 22:33:04

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,468
Website

Re: themes on 4.8beta

etc wrote #321153:

What if we totally remove dev-theme related stuff for admins who have disabled ‘Enable dev preview’ pref? So basically they would be able to manage only live themes?

Intriguing. I like that!


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

#15 2020-01-16 22:39:12

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,389
Website

Re: themes on 4.8beta

etc wrote #321153:

What if we totally remove dev-theme related stuff for admins who have disabled ‘Enable dev preview’ pref?

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.

The ‘Deploy to live’ option, however, makes sense to me, in the dev environment.

So I don’t know.

Offline

#16 2020-01-16 22:39:41

etc
Developer
Registered: 2010-11-11
Posts: 3,696
Website

Re: themes on 4.8beta

Bloke wrote #321154:

Intriguing. I like that!

Please test and revert if needed.

Offline

#17 2020-01-16 22:42:50

etc
Developer
Registered: 2010-11-11
Posts: 3,696
Website

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

#18 2020-01-16 22:46:44

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,389
Website

Re: themes on 4.8beta

Oh right. That sounds familiar. I think one of you explained that to me before in repo threads.

Offline

#19 2020-01-17 01:10:55

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,468
Website

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.

Txp Builders – finely-crafted code, design and Txp

Offline

#20 2020-01-17 01:37:11

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,014
Website

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_live string 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.

Offline

Board footer

Powered by FluxBB