Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-31 14:23:17

FireFusion
Member
Registered: 2005-05-10
Posts: 698

How do I changing comment success message

I need to change the message that says “Thank you for adding your comment. Your comment is pending moderation. It will appear after it has been approved.”

Where can I find this?

Offline

#2 2007-01-31 14:56:30

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How do I changing comment success message

In the database: txp_lang table.

Offline

#3 2007-01-31 15:08:41

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: How do I changing comment success message

FireFusion

Els is right. The strings you are looking for are called ‘comment_posted’ and ‘comment_moderated’.

Last edited by net-carver (2007-01-31 15:12:00)


Steve

Offline

#4 2007-12-28 12:31:11

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: How do I changing comment success message

Is this still true?
Becouse I am looking in the txp_lang table with phpMyAdmin and dont see the “Thank you…” text, which I want to change.

Offline

#5 2007-12-28 12:53:43

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: How do I changing comment success message

yes its still true. just checked mine and its definitely there.

Offline

#6 2007-12-28 13:17:20

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: How do I changing comment success message

Found it! Thanks a lot!

Offline

#7 2009-03-02 21:04:04

jshan
Member
Registered: 2008-01-09
Posts: 67

Re: How do I changing comment success message

Els wrote:

In the database: txp_lang table.

This I will try later to alter the text message. Another question I’m having is how to style the output text? My intention is to create a shaded message box but where do I insert the <div> tag in what form/page?

Right now, the default submit-success message looks as if it’s another ordinary paragraph to the end of the article.

Thanks for help!

Jay.

Offline

#8 2009-03-02 21:24:02

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: How do I changing comment success message

<p id=“txpCommentInputForm”>Thank you for adding your comment.</p>

You have a hook there, could that help you? :)

Offline

#9 2009-03-02 21:33:49

jshan
Member
Registered: 2008-01-09
Posts: 67

Re: How do I changing comment success message

Thanks for quick reply! But can someone help me understand the logic here? I mean the message can only be changed from DB end. How would you expect it to parse into the p tag with the specific id=txpCommentInputForm? In fact, if such a message cannot be changed in any page/form template, how would you expect CSS to work with it since CSS is all assoicated with either a page or form…

I don’t think there’s magic here, is there? :)

Offline

#10 2009-03-02 21:42:36

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How do I changing comment success message

Why don’t you have a look at the page’s source code when the posted message is displayed? The id is there, so you can style it :)

Offline

#11 2009-03-02 22:50:25

jshan
Member
Registered: 2008-01-09
Posts: 67

Re: How do I changing comment success message

right on! uh… should’ve thought abuot this!! :P

Andrijam, I guess that’s what you meant, eh?

Thx both of you!

Last edited by jshan (2009-03-02 22:52:04)

Offline

Board footer

Powered by FluxBB