Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-11-08 23:57:01
- zabba
- New Member
- From: Sweden
- Registered: 2009-08-16
- Posts: 6
Tag error when using multiple CSS stylesheets
I’m getting error when using more than one stylesheet on a page. The stylesheets are saved in TXP (via presentation > style) then called like this:
<link rel="StyleSheet" href="<txp:css />" type="text/css" media="screen" /> <link rel="StyleSheet" href="<txp:css n="reset" />" type="text/css" media="screen" /> <link rel="StyleSheet" href="<txp:css n="typography" />" type="text/css" media="screen" />
which then generates:
<link rel="StyleSheet" href="http://textpattern.dev/css.php?n=test_main" type="text/css" media="screen" /> <link rel="StyleSheet" href="http://textpattern.dev/css.php?n=reset" type="text/css" media="screen" /> <link rel="StyleSheet" href="http://textpattern.dev/css.php?n=typography" type="text/css" media="screen" />
All loads well but I’m getting the errors:
Tag error: <txp:css n="reset" /> -> Textpattern Notice: n attribute is deprecated on line 63 Tag error: <txp:css n="typography" /> -> Textpattern Notice: n attribute is deprecated on line 63
This syntax is taken from http://textpattern.com/faq/164/can-i-use-multiple-css-stylesheets
Is this a bug related to Textpattern 4.3? Or am I doing something wrong?
I’m using Textpattern 4.3
“Ahh, The Door! Where’ve you been?”
Offline
Re: Tag error when using multiple CSS stylesheets
it’s not a bug, n
is deprecated
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#3 2010-11-09 00:23:00
- zabba
- New Member
- From: Sweden
- Registered: 2009-08-16
- Posts: 6
Re: Tag error when using multiple CSS stylesheets
Great!
Matt, thanks for a quick response!
“Ahh, The Door! Where’ve you been?”
Offline