Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-05-04 13:29:41

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

txp:siteurl tag in styles (css) tab

I’ve never been a great fan of txp’s use of css in the database but if you could use txp:siteurl tag in the style tab…. it would be great :)

What do you think?

Offline

#2 2012-05-04 13:35:36

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

Re: txp:siteurl tag in styles (css) tab

smd_style allows this, among other things. That bit’s shamelessly stolen from ako_cssParse so if you don’t need the enhanced stylesheets switching / alternate stylesheets or real-time class switching ability (of the beta v0.30) then sniff out ako_cssParse and you should be all set.

Adds quite a bit of overhead to the processing so it’s probably not going to be a core thing unless someone can give a compelling reason why the speed penalty is beneficial (or they can make a patch fast enough that it doesn’t matter).


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

#3 2012-05-07 07:22:49

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: txp:siteurl tag in styles (css) tab

Thanks Stef – I’ll take a look :)

Offline

Board footer

Powered by FluxBB