Guest Posted June 18, 2009 Posted June 18, 2009 Hi Guys This is probably so easy, i'm gonna kick myself when i find out the answer :rolleyes: Take a look at the picture Earlier i added a new infobox to my right side and i copied a box i had on my left, "Our Ebay Stores box" Well i've been trying to change the title of the box and i've tried everywhere :blink: What do i need to edit to change the title, I've been playing with this for some time now, and i don't want to mess up Any ideas?? Thanks Gerry :blush:
MrPhil Posted June 18, 2009 Posted June 18, 2009 "Our eBay Store" is probably either hardcoded into the code to produce the box, or is defined somewhere such as: define('INFO_BOX','Our eBay Store'); and the reference in the code is INFO_BOX (or whatever). If you remember what code you cut and pasted to make the new box, start there. Otherwise, a tool for searching multiple files for a string, such as grep, is invaluable. If you're on a Linux server, you have grep available on the command line. If your files are on a PC, use the File Search command in Windows. If it's hardcoded, just change the string in the new box's code. If it's defined, change the define name (e.g., INFO_BOX_2) and add a new define('INFO_BOX_2','whatever other text'); next to the old one. This assumes that you want to keep the box labeled 'Our eBay Store'.
Guest Posted June 18, 2009 Posted June 18, 2009 "Our eBay Store" is probably either hardcoded into the code to produce the box, or is defined somewhere such as:define('INFO_BOX','Our eBay Store'); and the reference in the code is INFO_BOX (or whatever). If you remember what code you cut and pasted to make the new box, start there. Otherwise, a tool for searching multiple files for a string, such as grep, is invaluable. If you're on a Linux server, you have grep available on the command line. If your files are on a PC, use the File Search command in Windows. If it's hardcoded, just change the string in the new box's code. If it's defined, change the define name (e.g., INFO_BOX_2) and add a new define('INFO_BOX_2','whatever other text'); next to the old one. This assumes that you want to keep the box labeled 'Our eBay Store'. Thank you I'll give it a shot and we'll see Thanks again Mr Phil
Guest Posted June 18, 2009 Posted June 18, 2009 "Our eBay Store" is probably either hardcoded into the code to produce the box, or is defined somewhere such as:define('INFO_BOX','Our eBay Store'); and the reference in the code is INFO_BOX (or whatever). If you remember what code you cut and pasted to make the new box, start there. Otherwise, a tool for searching multiple files for a string, such as grep, is invaluable. If you're on a Linux server, you have grep available on the command line. If your files are on a PC, use the File Search command in Windows. If it's hardcoded, just change the string in the new box's code. If it's defined, change the define name (e.g., INFO_BOX_2) and add a new define('INFO_BOX_2','whatever other text'); next to the old one. This assumes that you want to keep the box labeled 'Our eBay Store'. Just sussed it out, Copying an info box code will just copy the details the same as the first unless you take steps to rename the files into something else. if your not adventerous in coding then just add a "1" to the end of any filenames and links. Worked for me Cheers!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.