Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
CSS bug on error_default
A bug seems to appear, when the error_default page is loaded. When using the tag <txp:css /> the attribute n is ignored!
That means only the default stylesheet is loaded.
A work around is to replace, e.g. <txp:css format="link" n="somestylesheet" /> with this code:
<link rel="stylesheet" type="text/css" media="screen" href="<txp:site_url />textpattern/css.php?n=somestylesheet" />
Never make the same mistake twice… there are so many… try a new one each day!
Offline
#2 2006-12-07 04:26:08
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: CSS bug on error_default
This was fixed in 4.0.4.
Offline
Re: CSS bug on error_default
Mary wrote:
This was fixed in 4.0.4.
Very odd, I am using 4.0.4 version — clean install — and the bug persists!
Never make the same mistake twice… there are so many… try a new one each day!
Offline
#4 2006-12-08 01:36:04
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: CSS bug on error_default
I’m not thinking straight. What you’ve found is a bug caused by a fix for another bug. Gimme a few minutes and I’ll post the fix.
Offline
#5 2006-12-08 02:51:51
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: CSS bug on error_default
Offline
Pages: 1