Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: CSS Chooser
yep working great.
Offline
#38 2005-01-31 02:34:30
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: CSS Chooser
Tee,
Your cookie code is using the wrong domain. The cookie is only valid for www.torry.nu, not torry.nu.
<pre>
HTTP request sent, awaiting response…
1 HTTP/1.1 200 OK
2 Date: Mon, 31 Jan 2005 02:38:08 GMT
3 Server: Apache/1.3.33 (Unix) PHP/4.3.10 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7c
4 X-Powered-By: PHP/4.3.10
5 Set-Cookie: txp_stylesheet=v2b; expires=Thu, 03-Mar-05 02:38:14 GMT; path=/; domain=www.torry.nu
6 Connection: close
7 Content-Type: text/html; charset=utf-8
</pre>
Last edited by zem (2005-01-31 02:35:05)
Alex
Offline
#39 2005-01-31 20:34:45
- tee
- New Member
- From: Norway
- Registered: 2004-09-19
- Posts: 9
Re: CSS Chooser
Ah, you are perfectly right zem. Thanks to you and paularms for replying, not to mention solving the issue.
Now, any suggestion to how I can use both domains with this plugin? In the admin panel I entered the “Web domain” without “www”. I don’t know why the cookie code has “www” in it. I think most users would like the option to use their short url.
Anyway, thanks again.
Proud VCII
Offline
Re: CSS Chooser
i quickly solved the validation bug
http://fw4ever.toxin.hu/fla_altstyle_linkFix.txt
and thx for the great plugin
Last edited by toxin (2005-06-03 06:10:12)
Offline
#41 2005-06-07 14:51:55
- davidm
- Member
- From: Paris, France
- Registered: 2004-04-27
- Posts: 719
Re: CSS Chooser
As anyone had problems with this plugin with RC3 ?
The <txp:fla_style_switcher /> is not parsed in the head call :
<link rel="stylesheet" href="<txp:fla_style_switcher /> " type="text/css" />
doesn’t work….
Plugin is activated properly, the switcher links are there but doesn’t work with rev392…
.: Retired :.
Offline
Re: CSS Chooser
try this ;)
‹txp:fla_style_switcher default=“YOURDEFAULTCSS” media=“screen” />
Last edited by toxin (2005-06-07 17:45:05)
Offline
Re: CSS Chooser
This ain’t working for me any more either, under rev 464. Tried toxin’s method too.
Offline
Re: CSS Chooser
I’m on 464 and it works great.
Offline
#45 2005-07-03 17:56:15
- Boogenstein
- Member
- From: Wausau, Wisconsin, USA.
- Registered: 2004-03-28
- Posts: 56
Re: CSS Chooser
I have been using it since Tournesol first posted about it. I have updated every couple of days and like paularms am presently on 464. It has always worked without a single hitch and I have not had to change anything since I installed it..
“Keep a straight face and you’ll be laughing!”
Offline
Re: CSS Chooser
Hm! Well that’s encouraging, although I have no idea what’s going wrong with my installation. Maybe I’ll reinstall the plugins.
Offline
#47 2005-07-15 22:15:53
- Boogenstein
- Member
- From: Wausau, Wisconsin, USA.
- Registered: 2004-03-28
- Posts: 56
Re: CSS Chooser
I have just been re-reading this thread and something puzzled me. On my pages I have always used the following and it has worked on every revision:
<code><txp:fla_style_switcher default=“name of stylesheet”/></code>
It validates as XHTML 1.1 quite happily. The cookie problem has never cropped up.
Am I doing something wrong to make it work right?
Last edited by Boogenstein (2005-10-23 22:21:16)
“Keep a straight face and you’ll be laughing!”
Offline