Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#171 2020-02-04 11:23:35

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

Re: Testers needed: flat development (4.7+ only)

What a n00b I am! Thanks Summer.

Offline

#172 2020-08-17 08:31:18

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

Re: Testers needed: flat development (4.7+ only)

I may be using this on a project soon that’s managing their Txp templates on disk for git control. What is the status of the plugin with the dev/live workflow?

From my understanding the plugin does not inject any data into the database, rather just lets the database fetch assets from disk while in testing/debug mode, correct? So does it honour the dev assets that are set, for anyone using developer preview? What happens for those not using developer preview? And how does it work if you have a mix of dev/live assets being served from the DB?

Secondly, I guess after development is done and all signed off, this is the process:

  1. Switch production mode to Live.
  2. From the Themes panel, select theme and Import from disk.
  3. From the Sections panel, select sections and Deploy to live, as normal.

Correct?


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

#173 2020-08-17 09:18:53

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

Re: Testers needed: flat development (4.7+ only)

IIRC, etc_flat fetches assets from themes folder. It is important to notice that there is no live/dev versions of a theme, the entire theme can be live or dev individually for each section. So, everything happens (almost) exactly as usual: logged-in users will get their dev assets served from disk, and other visitors will be served live assets, but from db.

The plugin does not keep db/disk in sync, leaving it with admins.

Offline

#174 2020-08-17 09:22:51

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

Re: Testers needed: flat development (4.7+ only)

Of course, that makes perfect sense. Thanks for the clarification.


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

#175 2020-08-17 10:54:34

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

Re: Testers needed: flat development (4.7+ only)

Also, styles are not handled by this plugin (there is no ‘fetch css’ callback), but one can link to their flat versions in core anyway.

Offline

Board footer

Powered by FluxBB