Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-04-12 04:57:22

surfwax95
Member
Registered: 2008-04-04
Posts: 38
Website

Changing the string "Message:" in the comments form…

I’m creating a restaurant review site and am using Comments as Reviews.

I cannot figure out how I should go about getting “Message” to display as “Your Review:”

I’ve already tried editing my lang/.txt file, but it’s not working (could be a cache issue?).

Any ideas?

>EDIT<

Apologies, I’ve been up a while. I meant:

When you click “Preview” to preview a comment, but have a blank form, TxP outputs “Please enter a message.”

How would I change that to, “Please write a review.”?

Last edited by surfwax95 (2010-04-12 05:54:45)


Caps lock is cruise control for cool. —Unknown

Offline

#2 2010-04-12 05:49:09

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Changing the string "Message:" in the comments form…

<label for="message">Your review</label>

Offline

#3 2010-04-12 05:54:55

surfwax95
Member
Registered: 2008-04-04
Posts: 38
Website

Re: Changing the string "Message:" in the comments form…

I wasn’t clear, I’ve edited my post.


Caps lock is cruise control for cool. —Unknown

Offline

#4 2010-04-12 05:58:13

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Changing the string "Message:" in the comments form…

I think the wet_babble plugin allows for this.

Offline

#5 2010-04-13 02:11:20

surfwax95
Member
Registered: 2008-04-04
Posts: 38
Website

Re: Changing the string "Message:" in the comments form…

The web_babble plugin worked great, but I also realized I could’ve just edited the txp_lang field in the database.

Thanks for all the help!


Caps lock is cruise control for cool. —Unknown

Offline

#6 2010-04-13 20:01:52

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

Re: Changing the string "Message:" in the comments form…

surfwax95 wrote:

The web_babble plugin worked great, but I also realized I could’ve just edited the txp_lang field in the database.

Changes to the txp_lang table are overwritten on updates, that’s why wet_babble exists :)

Offline

#7 2010-04-13 20:02:55

surfwax95
Member
Registered: 2008-04-04
Posts: 38
Website

Re: Changing the string "Message:" in the comments form…

Ah, good to know, thanks!


Caps lock is cruise control for cool. —Unknown

Offline

Board footer

Powered by FluxBB