Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Testers needed: flat development (4.7+ only)
etc wrote #311711:
That’s not really specific to the flat development …
Yes, I get that, and it’s a good idea too.
My suggestion above with an override switch would be to ignore that completely and to switch to flat files whatever the logged-in or site status is. In essence, it’s only for the purposes of theme web development work that would then only be suitable for local web development work or work on staging sites. But maybe someone else has a better idea?
TXP Builders – finely-crafted code, design and txp
Offline
Re: Testers needed: flat development (4.7+ only)
It could behave like this in the debug mode, for example? Db for everyone in live
mode, fs for logged users in test
mode and fs for everyone in debug
mode if flat
is enabled?
Offline
Re: Testers needed: flat development (4.7+ only)
That sounds to me like a good recipe. That means, when the future “use flat files” setting is enabled:
- with a site status of
testing
, logged-in developers can modify and experiment with changes without them affecting the live site, as they can at present but using flat files. To make their changes go live, they need to “update the theme from the flat files” and switch back the site status to “live”. They can’t do cross-browser testing with this without logging in and out in the various browsers. - with a site status of
debugging
, developers can develop a theme – for example in a non-public development environment – using flat files and can check the results in several different browser windows without having to be logged in to textpattern in the other browsers.
Perhaps codewarrior can comment on whether these settings would work with automatic browser updating tools (which I’ve not used up to now). What do other people think?
TXP Builders – finely-crafted code, design and txp
Offline
Re: Testers needed: flat development (4.7+ only)
Okay, etc_flat plugin amended this way. No need to be logged in in debug
mode anymore. Mind, however, that if you have more than one theme installed, logged in users will be served from their “dev” theme, which can be different from the “public” one.
Offline
Re: Testers needed: flat development (4.7+ only)
Hi Oleg/Anyone
Out of the blue etc_flat v0.1.1 stopped working (I can update a file-system theme, but the changes don’t show up on the site unless I manually trigger a theme update). This occurs in both Debug and Testing modes. I’ve tried re-exporting the Theme files to disk, but no change…
I’m running TXP 4.7.0 public-release. The only thing I can think of that may have triggered the change was re-assigning an existing admin user to new privileges – from Managing Editor to Publisher.
Can you advise how I might troubleshoot this?
Thanks
Gary
Offline
Re: Testers needed: flat development (4.7+ only)
Hi Gary,
a mere switch from Managing Editor to Publisher shouldn’t change anything — both have skin
privs. Overall, if only one theme is installed on the site, my only explication would be that the plugin is somehow broken/disabled. Otherwise, please check in txp_prefs
table whether skin_editing
pref of the concerned users corresponds to the theme you are working on. It could be that they were assigned a different theme (default
?) when logging in and thus are seeing this theme and not the one you are working on. But then importing from disk to db shouldn’t help, though it might depend on sections.
No clearer idea, sorry.
Offline
Re: Testers needed: flat development (4.7+ only)
Thanks Oleg
The skin_editing prefs check out. I have a single theme, and all sections point to it. I’ve deleted / reinstalled the plugin.
Still no luck. I did find this in the txp:skins table – the lastmod entry for my theme is NULL – and stays that way whether I update via the file system, or export to disk.
Offline
Re: Testers needed: flat development (4.7+ only)
I’m a fool — registered the last version under a wrong type. Should be fixed now, sorry for the trouble.
Offline
Re: Testers needed: flat development (4.7+ only)
Shit happens! (you’re no fool :)
Thank you.
Offline
Offline
Re: Testers needed: flat development (4.7+ only)
That’s how Styles
tab looks in dev branch atm:
Offline
Re: Testers needed: flat development (4.7+ only)
etc wrote #313299:
That’s how
Styles
tab looks in dev branch atm:
Looks good from an organizational POV. But the strings…
- The
Styles
panel title should probably be something else (discussed upthread) - the
All styles
title, shouldn’t that be something likestylesheets
?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline