Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-10-15 07:48:18

Cyclope
New Member
Registered: 2008-10-15
Posts: 2

[resolved] Taghandler.php problem, or?

First, sorry for my (poor) english.

So, I have “comment mode” set to Popup, and, if you want to add comment, new popup window appears. There, you can already write new comment. If you are first, who want write comment, everything is ok and there are no errors (notices). But if you want to add second (third, etc…) comment, at the top of popup window is this:

“Notice: tag is deprecated in /httpd/html/site_name/www/rs/textpattern/publish/taghandlers.php on line 1770”

And, if i look in taghandler.php on line 1770, there is this:

// -------------------------------------------------------------
// DEPRECATED: the old comment message body tag
	function message($atts)
	{
		trigger_error(gTxt('deprecated_tag'), E_USER_NOTICE);  // <--- this is line 1770

		return comment_message($atts);
	}

// -------------------------------------------------------------

How can I solve this problem? Thanx!

Last edited by ruud (2008-10-15 09:26:08)

Offline

#2 2008-10-15 09:29:31

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: [resolved] Taghandler.php problem, or?

In your comment form/template, you have a tag <txp:message />. Replace that with <txp:comment_message /> and the problem will be gone.

Offline

#3 2008-10-15 10:55:13

Cyclope
New Member
Registered: 2008-10-15
Posts: 2

Re: [resolved] Taghandler.php problem, or?

Great, great, GREAT! Thanks a lot! ;-)

Offline

#4 2009-07-24 23:03:39

bio
New Member
Registered: 2009-07-24
Posts: 7

Re: [resolved] Taghandler.php problem, or?

thanks both of you…it was very helpful for me as well…nearly one year after! lol :)

Offline

Board footer

Powered by FluxBB