PDA

View Full Version : Where's that darned string???


mobius55
12-04-2008, 08:40 PM
Hey, Folks:

For a variety of insane reasons, my client wants to change the text of the 'Next' and 'Previous' links on the standard image-template page. NOT the link or the tag - just the text displayed in the browser - don't ask...

I've searched the php codebase but cannot find the line where those two actual text strings are assigned to variables. I see the variables all over the place. I know it's gotta be in there somewhere! Can anyone point me in the right direction?

Thoughts, sympathies, condolences greatly appreciated :-)

jaywilliams
12-04-2008, 09:16 PM
Well, since you didn't include a URL to the site in question, I can only guess. And from what I can gather, you need to do it edit the lang-english.php file with the replacement text.

See:
http://www.pixelpost.org/docs/TemplateTags/IMAGE_NEXT_LINK
http://www.pixelpost.org/docs/TemplateTags/IMAGE_PREVIOUS_LINK

mobius55
12-04-2008, 11:31 PM
Hey Jay: Thanks for taking the time to answer my extremely dumb question. Figured that out about 10 minutes ago, came online to post "Oops - Never Mind!" :-)

Other newbies might be happy to know that they can change ALL of the default prompts and messages in that file - prettty cool, actually - beats the heck out of editing in several pages! Finally beginning to appreciate the value of 'framework architecture".

Cheers,
CR

AlanC
03-28-2009, 05:20 AM
Jay - Another Thank You for the pointer to the language file. I spent hours trying to do the same thing mobius' client wanted to do. The direction of the thumbnails seemed counterintuitive to me in relation to the words. Now, everyone else may think me backwards, but I'm happy!

mobius55 - Just when you thought your client was alone in his excentricities...