Textpattern CMS support forum

You are not logged in. Register | Login | Help

#81 2015-06-22 10:46:25

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,175
Website

Re: Textpattern themes: a plan

hcgtv wrote #291782:

Yes, that’s what I mean, I like. When can I be a beta tester?

Later today when I put the branch back on Textpattern’s GitHub repo – will let you know.

Offline

#82 2015-06-22 10:52:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,620
Website

Re: Textpattern themes: a plan

Destry wrote #291780:

instead of adding a “Description” field, just create a “Description” field from a custom field

Great input, thanks. Can I please redirect you elsewhere for further discussions on this topic. Ta.


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

#83 2015-06-22 10:54:26

Destry
Moderator
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,172
Website

Re: Textpattern themes: a plan

Edited for redirection control. Sorry.

Last edited by Destry (2015-06-22 10:55:06)


The text persuades, the *notes prove。

Offline

#84 2015-06-22 10:55:24

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,620
Website

Re: Textpattern themes: a plan

hcgtv wrote #291782:

ThemesTemplatesPackages

Hey, that’s a nice distinction. Where’s the damn Like button on this forum :-)


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

#85 2015-06-22 11:18:05

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Textpattern themes: a plan

Sorry, I’ve missed something; what about the file name conventions? Is that what we should use?

  • Theme
    • Pages
      • abc_theme.default.txp
    • Forms
      • abc_theme.default.article.txp

Last edited by NicolasGraph (2015-06-22 11:19:55)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#86 2015-06-22 11:27:52

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,620
Website

Re: Textpattern themes: a plan

NicolasGraph wrote #291790:

what about the file name conventions?

I was thinking more like:

  • themes
    • abc_theme
      • pages
        • default.txp
        • about.txp
      • forms
        • article.default.txp
        • misc.footer.txp
        • section.layout.txp
      • styles
        • cobalt.css
    • smd_theme
      • pages
        • elastic.txp
      • forms
        • article.default.txp

Deletion is then a simple case of removing the theme’s folder (after unassigning the theme assets from your Sections of course, or things’ll get messed up on your public site).

EDIT: .css extension for Stylesheets, duh.

Last edited by Bloke (2015-06-22 18:37:27)


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

#87 2015-06-22 11:34:48

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,175
Website

Re: Textpattern themes: a plan

I’m with Stef on this one. That is the directory structure I would want.

Offline

#88 2015-06-22 11:38:00

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,394
Website

Re: Textpattern themes: a plan

philwareham wrote #291784:

Later today when I put the branch back on Textpattern’s GitHub repo – will let you know.

OK missed this – downloaded the latest from Github but its no different from before. Using 4.6dev on TXP Tips for access to the txp:author tag, so happy to give this a testing once you update on Github.

Offline

#89 2015-06-22 11:40:06

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,394
Website

Re: Textpattern themes: a plan

I’d like to also point out to TXP fans out there that the grass is not necessarily greener on the other side. I wasted hours this morning on my wife’s Tumblr site trying to figure out why a paid theme did not load her Twitter feeds. She uses Tumblr because its easy to add content, but its not easy to change anything and the theme author’s help page leads to a 404.

Offline

#90 2015-06-22 11:56:32

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Textpattern themes: a plan

Bloke wrote #291791:

I was thinking more like:

  • Themes
    • abc_theme
      • Pages
        • default.txp
        • about.txp
      • Forms
        • article.default.txp
        • misc.footer.txp
        • section.layout.txp
      • Styles
        • cobalt.txp
    • smd_theme
      • Pages
        • elastic.txp
      • Forms
        • article.default.txp

Deletion is then a simple case of removing the theme’s folder (after unassigning the theme assets from your Sections of course, or things’ll get messed up on your public site).

Great, even easier than I thought. I didn’t know if same form names in different themes could cause problems with the db.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

Board footer

Powered by FluxBB