Textpattern CMS support forum

You are not logged in. Register | Login | Help

#171 2018-01-10 09:31:55

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 7,911
Website

Re: Textpattern themes: a plan

Okay, changed it slightly:

<txp:page_url type="images_root" />
<txp:page_url type="themes_root" />
<txp:page_url type="theme_path" />
<txp:page_url type="theme" />

Outputs:

https://example.org/images
https://example.org/themes
https://example.org/themes/some-theme-name
some-theme-name

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

#172 2018-01-10 09:54:38

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

Re: Textpattern themes: a plan

Good stuff! Tag change needs documenting, so can you please raise and issue in docs repo so I don’t forget. Cheers Stef!

Online

#173 2018-01-10 11:33:29

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 2,664
Website

Re: Textpattern themes: a plan

Excellent. Thanks Stef!


TXP Builders – finely-crafted code, design and txp

Offline

#174 2018-01-10 12:01:53

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,217
Website

Re: Textpattern themes: a plan

Bloke wrote #308609:

Log out and back in again. The old one will get purged on login.

Done and gone! (should have thought about that…)

Also, updated type strings are certainly better.

Offline

Board footer

Powered by FluxBB