Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#4 2006-12-24 20:08:16

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Difference between <txp:message /> and <txp:comment_message />

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

Board footer

Powered by FluxBB