Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-04-18 20:44:03

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Textpattern theme skeleton, blank files

Building a theme? Need zero byte placeholder files for the required Textpattern pages, forms and styles?

Then step right this way:

github.com/petecooper/textpattern-skeleton

With a grand total of 1 minute 25 seconds of work, I present the barest of blank canvas skeletons.

The naming convention follows the recommended/preferred naming patterns, and it’s public domain (because there’s no code).

Offline

#2 2017-04-18 20:46:45

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,071
Website Mastodon

Re: Textpattern theme skeleton, blank files

cool. thanks!


…. texted postive

Offline

#3 2017-04-20 09:46:14

ax
Plugin Author
From: Germany
Registered: 2009-08-19
Posts: 165

Re: Textpattern theme skeleton, blank files

I wish this was an installation option for Textpattern.

Offline

#4 2017-04-20 11:14:43

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: Textpattern theme skeleton, blank files

ax wrote #305404:

I wish this was an installation option for Textpattern.

+1. Couple of schools of thought here:

  • fork the default content files and make a set of drop-in replacements for a barebones setup
  • have a plugin do the same job: remove all content, self-destruct after the fact (this already exists, though I’ve had mixed results recently)
  • have an option in setup to bypass the default content installation completely

Without any evidence, I have no idea what proportion of people would find this useful. I’m erring towards making the drop-in file replacements and having them on a separate repo: less admin headache for the dev team to maintain another project, and my gut feeling is a totally barebones Textpattern is…is edge case the right term to use?

Offline

#5 2017-04-20 11:31:52

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Textpattern theme skeleton, blank files

ax wrote #305404:

I wish this was an installation option for Textpattern.

Well, this is why we are planning theme support. In the meantime (in 4.7dev as of January 2017 based on Makss patches) you could probably just replace the files in the setup directory with you own.

Offline

Board footer

Powered by FluxBB