Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-03-16 13:36:05
- Dean S
- New Member
- Registered: 2008-03-01
- Posts: 4
Tag error
Hi Guys,
I keep getting the following tag errors appearing on my source code just before the doctype.
<pre>Tag error: <b><txp:sitename/></b> -> <b> Textpattern Notice: tag is deprecated on line 978</b></pre><pre>Tag error: <b><txp:sitename/></b> -> <b> Textpattern Notice: tag is deprecated on line 978</b></pre>
I’m trying to investigate but am still somewhat puzzled.
Dean
Offline
Re: Tag error
Replace <txp:sitename />
with <txp:site_name />
in your forms and pages.
Offline
#3 2008-03-16 14:12:44
- Dean S
- New Member
- Registered: 2008-03-01
- Posts: 4
Re: Tag error
Perfect thanks a bunch it seems to have done the trick.
Your reply has also opened up a few other questions…
The textpattern book suggests the correct tag is <txp:sitename /> however you have suggested the correct Tag is <txp:site_name />. Do the two tags have different purposes and are we to use them for different applications.
Thanks – D
Offline
Re: Tag error
sitename was replaced by site_name.
sitename was never really a tag. It just happened to work. In recent TXP versions, the site_name tag was added officially. They are functionally equivalent.
Offline