Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-10-27 16:58:05

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,635
GitHub Twitter

"skin" entry accessible in front-end

Maybe the “skin” entry could be accessible in front-end for theme developers.

Consider this line into a website footer:

<txp:text item="published_with" /> Textpattern CMS &amp; XXX <txp:text item="skin" />


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2020-10-27 20:41:32

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,734
Website

Re: "skin" entry accessible in front-end

Might page_url help? See Example 2 for something like what you suggest.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2020-10-27 22:00:56

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,456
Website GitHub

Re: "skin" entry accessible in front-end

I think Pat64 means ‘skin’ as a translated string (‘Theme’ in English), right? We could probably move that item from the [admin-side] group to [common] without ill effect.

Please raise an issue in the Textpacks repo and we’ll look into it.


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

#4 2020-10-28 03:51:33

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,635
GitHub Twitter

Re: "skin" entry accessible in front-end


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB