Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: CSS Chooser
Tournesol – does this work with just the TXP CSS system, or can you direct it to use a separate css file?
Cheers,
Jon VC#9
Offline
Re: CSS Chooser
No, at this time it only plays with txp’s CSS system.
But you’ll have some new options and functions very soon… stay tuned…
;)
Offline
#15 2004-09-25 15:54:46
- Boogenstein
- Member
- From: Wausau, Wisconsin, USA.
- Registered: 2004-03-28
- Posts: 56
Re: CSS Chooser
Works like a dream,
nice one T
“Keep a straight face and you’ll be laughing!”
Offline
Re: CSS Chooser
> Tournesol wrote:
> No, at this time it only plays with txp’s CSS system.
But you’ll have some new options and functions very soon… stay tuned…
;)
Cool! Look forward to it!
Cheers,
Jon VC#9
Offline
Re: CSS Chooser
> Unknown-Error wrote:
> If anyone’s interested, I’ll put up a link.
Sure, go on.
Offline
Re: CSS Chooser
OK, I’ve now implemented this on my site, but i have query regarding URLs. If the URL has a category specified in it (such as http://www.hicksdesign.co.uk/about/?c=colophon) the site style link is added with an ampersand. This won’t validate. Changing the $url variable in the plug in to <code><pre> & amp ; </pre></code> sort of works, but is there a better way around this?
Last edited by jonhicks (2004-11-01 00:08:49)
Cheers,
Jon VC#9
Offline
Re: CSS Chooser
Jon,
would that piece in your .htaccess file help?
<code>
<IfModule mod_php4.c>
php_value arg_separator.output “&amp;”
php_value arg_separator.input “&”
</IfModule>
</code>
Last edited by ChrisJ (2004-11-01 13:02:32)
Offline
Re: CSS Chooser
ChrisJ,
doesn’t seem to do the trick. Presumably that wouldn’t actually change the html that the plugin outputs? This is the troublesome in the plugin code:
<pre>
$url .= “&”;
</pre>
If thats changed to
<pre>
$url .= “&”;
</pre>
It doesn’t output the semi-colon.
Last edited by jonhicks (2004-11-03 15:19:46)
Cheers,
Jon VC#9
Offline
Re: CSS Chooser
Dang! can’t get & amp ; to show up in that last example
Cheers,
Jon VC#9
Offline
Re: CSS Chooser
> jonhicks wrote:
> Dang! can’t get & amp ; to show up in that last example
&
+ amp;
twice (& amp; amp;
– without spaces) should give &amp;
Last edited by ChrisJ (2004-11-03 22:50:23)
Offline
#23 2004-11-18 14:34:15
- stevechamp
- Member
- Registered: 2004-08-13
- Posts: 12
Re: CSS Chooser
Has anyone else has problems using mod rewrite rules (http://www.funkaoshi.com/debug/clean-urls-in-textpattern) for clean urls, and also using this plugin.
For me it works when www.domain.com/?css=default but not
www.domain.com/about?css=default
any clues
Last edited by stevechamp (2004-11-18 14:34:47)
Offline