Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-12-24 17:10:42
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Difference between <txp:message /> and <txp:comment_message />
Just going through the default TXP install and noticed it uses a tag called <txp:message /> to display a comment’s message. This tag does not appear in the Wiki tag list. Is it depreciated? I’ve always used <txp:comment_message /> for the same functionality.
Kevin
(graphicpush)
Offline
#2 2006-12-24 17:33:45
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Difference between <txp:message /> and <txp:comment_message />
In taghandlers.php I found this:
// -------------------------------------------------------------
// DEPRECATED: the old comment message body tag
function message($atts)
{
return comment_message($atts);
}
// -------------------------------------------------------------
Thanks for pointing this out. Now I know I need to replace my old <txp:message />
tags.
Offline
#3 2006-12-24 19:36:18
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: Difference between <txp:message /> and <txp:comment_message />
Els — Thanks for your quick response. I assumed it was depreciated because there is no documentation anywhere about the tag. Didn’t think to look in taghandlers.php, but I’ll keep that in mind the next time I have an obscure question.
Kevin
(graphicpush)
Offline
Re: Difference between <txp:message /> and <txp:comment_message />
on a side-note: http://weblog.philringnalda.com/2005/11/05/i-give-up-on-depreciated ;-D
Offline
#5 2006-12-24 23:38:56
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Difference between <txp:message /> and <txp:comment_message />
Sencer wrote:
on a side-note:
Oh thanks! I like these kind of articles :))))) And now I don’t have to doubt anymore…
Offline