Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2004-09-16 09:42:00

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

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

#14 2004-09-25 13:39:20

Tournesol
New Member
From: Paris, France
Registered: 2004-07-28
Posts: 5
Website

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

#16 2004-09-25 20:42:25

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

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

#17 2004-10-12 14:59:09

ChrisJ
Member
From: Vienna, Austria
Registered: 2004-03-30
Posts: 54
Website

Re: CSS Chooser

> Unknown-Error wrote:
> If anyone’s interested, I’ll put up a link.

Sure, go on.

Offline

#18 2004-11-01 00:07:36

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

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

#19 2004-11-01 13:01:53

ChrisJ
Member
From: Vienna, Austria
Registered: 2004-03-30
Posts: 54
Website

Re: CSS Chooser

Jon,
would that piece in your .htaccess file help?

<code>
<IfModule mod_php4.c>
php_value arg_separator.output “&amp;amp;”
php_value arg_separator.input “&amp;”
</IfModule>
</code>

Last edited by ChrisJ (2004-11-01 13:02:32)

Offline

#20 2004-11-01 14:14:26

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

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 .= “&amp;”;
</pre>

It doesn’t output the semi-colon.

Last edited by jonhicks (2004-11-03 15:19:46)


Cheers,
Jon VC#9

Offline

#21 2004-11-03 15:20:25

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: CSS Chooser

Dang! can’t get & amp ; to show up in that last example


Cheers,
Jon VC#9

Offline

#22 2004-11-03 22:49:16

ChrisJ
Member
From: Vienna, Austria
Registered: 2004-03-30
Posts: 54
Website

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;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

Board footer

Powered by FluxBB