I'm trying to rename the define_page_2,3,4 so they do not link on my main page as Page 2. I would like them to say Warranty, Free Shipping, etc. Please help.
I'm trying to rename the define_page_2,3,4 so they do not link on my main page as Page 2. I would like them to say Warranty, Free Shipping, etc. Please help.
You would need to rename the whole gang of files to do something like that if you want the actual filename in the URL to read warranty ...
It might be easier to clone a set by do a trace on something like:
page_2
page 2
in the Developers Tool Kit ... to show you were everything exists ...
Then you would need to look into the configuration_keys for this as well ... so that you have control on them ...
In the downloads is an About Us add-on that I believe has both a sidebox and a page of its own that can help you with this ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi
You can do this in:
includes/languages/english.php
But use the override system!
Create a directory called YOUR_TEMPLATE_NAME in includes/languages
and copy the above file to this directory and make the changes there.
Find the following in this file
Code:define('BOX_HEADING_MORE_INFORMATION', 'More Information'); define('BOX_INFORMATION_PAGE_2', 'Page 2'); define('BOX_INFORMATION_PAGE_3', 'Page 3'); define('BOX_INFORMATION_PAGE_4', 'Page 4');
Linda: You're making his head spin!!![]()
I'm not a coder, I just want to run a webshop.
So....
Pointing out all the things necessary to do the enormous task Qwikstreet wanted to do while additionally pointing to a mod that might make it easier is headspinning?
Searching for Page_2 in the Developer's Toolkit results in 15 files that would need to be changed. A page 2 search results in 9 pages to be changed.
includes/languages/english is therefore only one of twenty-four places that will need to be changed.
As usual, ajeh is not trying to stifle creativity but also attempting to point out options.
Unless you are EXCELLENT in making sure each of the twenty-four files are correctly edited and saved to the overide system, I'd go with the about us mod.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
OK
I clearly stepped on your toe... (hope you see the humour here) as you did
on mine now.
Just read his question, he's specific about what he wants.
IMHO he just wants to change the caption of his links on the front-end
not the internal naming, so why smack him in the face with developers
toolkit or a extra mod which will require him to override the sidebox, etc?
The headspin thing is a joke because it should be an easy fix instead!
I wasn't questioning Linda's Zen knowledge which I know she has.
But why didn't you let qwikstreet be the judge?
I had just decided to step in and help where I could, and you're showing
your appreciation nicely.
When someone asks a question about their ZC think of them as stated in my signature.
Read it?
They don't enjoy coding as some do, they just want to sell their goods/services.
So just give them what they need at that time, no more, no less.
But that's only my opinion...
I'm not a coder, I just want to run a webshop.
Like the toe bit.
Yes, I read them all. And, you should have read that there are nine files that list "Page 2." This is not the code "page_2" but an actual listing of the title. Doing as you suggested would have "fixed" the more info box but would have given him quite a surprise when Page 2 showed on the page, nav bar, and in the title.
I was not on a quest to save Linda nor denigrate you. I simply felt that the best way to decide was to have all the facts.
Regardless of the decision made by Qwikstreet, those who have a similar request in the future will find more than partial information to help them on their way.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Bookmarks