PDA

View Full Version : how can I customize the "thank you for commenting" text?


feanne
10-12-2006, 02:44 AM
:)

I was just wondering if it's possible to change that text that says:

Thank you for visiting and taking the time to comment on a picture. You will be redirected now.


Please click to be transferred back, if redirection doesn't work


*edit* I'm just putting in these keywords in an effort to help other users find this post in the future: comments, after submitting comments, thank you for comments

jdleung
10-12-2006, 03:23 AM
surely you can change it in your language file.
/language/lang-english.php

feanne
10-12-2006, 07:02 AM
Inevitably, it was the one place in which I didn't look.

Thanks! I've been able to customize it now. :)


*edit* Oh wait. It doesn't seem to be working. (I'm trying to change it for the art shop (http://artshop.feanne.com).) Hmmm. I edited the english language file, uploaded it to the site, and the site doesn't seem to be reflecting the changes. My language file looks like this:

(under //COMMENTS)
$lang_comment_thank_you = "Thank you for ordering an artwork made by me! I will get back to you as soon as possible. :) ~ Feanne";
$lang_comment_redirect = "You may now close this window, or click on this text to go back to the order form (if you aren't redirected automatically).";
$lang_comment_redirect_error = "Order form submission error! Please click go back to the order form, if redirection doesn't work";



BTW I'd like to point out a typo, submission is spelled as such and not as "submition" (that's how it's spelled in the default installation language file) :)

Joe[y]
10-12-2006, 07:07 AM
it doesn't seem to have changed? i'll check this out...

Joe[y]
10-12-2006, 07:12 AM
ok... well there shouldn't be anything wrong in the code in 1.5 as it's working fine with me. which part of the language file did you change exactly?

feanne
10-12-2006, 07:17 AM
Quick reply! I just finished editing my post to show how I edited the code. :)

Joe[y]
10-12-2006, 07:44 AM
hmmm.. sorry but i'm stumped. seems absolutely fine to me. i don't mean to patronise but if you're like me you may have simply just not reuploaded the file correctly. also try clearing out your browser cache and see if that helps.

also, your spelling of submission is the correct one ;-)

feanne
10-12-2006, 08:02 AM
Joey -- You mean the customized text shows up properly for you? :)

And yeah, the original language file has this:
$lang_comment_redirect_error = "Comment submition error! Please click to be transferred back, if redirection doesn't work";

:P

Thanks!

*edit* Aha! You're absolutely right. I just didn't re-upload it correctly. Silly me!

djaef
10-12-2006, 08:31 AM
Can I continue this one by asking where do I change the background colours of that thank you for commenting page? I would assume it to be in the CSS for the templates, but I couldn't see it there...

feanne
10-12-2006, 09:30 AM
djaef -- Hmm. Well I looked at that background color and its hex code is #F1F5F5, maybe try searching for that in all the pixelpost codes? I'll try looking for it too. :)

djaef
10-12-2006, 10:51 AM
ahh, good thinking Feanne. Thanks. I'll look for it.

Joe[y]
10-13-2006, 11:53 AM
/admin/admin_index.css

i agree that this should be made easier to change via stylesheets in templates. another idea for the future.