Hi there,
I'm a relatively new user to Zencart (version 1.39h). I've successfully changed the heading/nav bar titles of pages 2, 3 & 4 in the english.php file. However, I'm having problems after changing the URL too, to match these new heading/nav bar titles.
I've followed the following instructions posted in another thread, and managed to change the URL itself. However, all the text from the web page previously displayed (i.e. page 2 had my 'About Us' text) is completely blank when I load up the page in a browser - even though it's displayed fine when I select the given page in the 'Define Pages' editor.
Here are the instructions I followed to change the URL itself:
"if you care about the url...
you need to change includes/filenames.php
find define('PAGE_2', 'page_2'); and change the lower case page_2 to what ever you want to name it - I CREATED AN OVER-RIDE FOLDER, COPIED FILENAMES.PHP TO THAT AND MODIFIED THAT FILE.
now find includes/languages/english/page_2.php and rename it. ( changing the text inside as well - AGAIN, COPIED THE PAGE_2.PHP FILE TO MY OVER-RIDE FOLDER, RENAMED IT AND CHANGED THE TEXT INSIDE FOR THE NAVIGATION AND BREADCRUMB LINKS.
now go to includes/languages/english/html_includes/page_2.php and rename it. - I DID NOT FIND THIS FILE HERE - COULD ONLY SEE "DEFINE_PAGE2.PHP. I JUST CHANGED THIS FILE NAME IN MY OVER-RIDE DIRECTORY.
now go to includes/modules/pages/page_2 and change the name of the folder to what ever your new name is. - I CHANGED THE NAME OF THIS FOLDER DIRECTLY - I DID NOT CREATE AN OVER-RIDE FOLDER. SHOULD I HAVE ADDED AND OVER-RIDE FOLDER WITH THE RENAMED FOLDER INSIDE THAT? THERE IS A HEADER_PHP FILE IN THERE THAT I DID NOT CHANGE.
now go to includes/templates/your_templat/templates/tpl_page_2_default.php and change the name to tpl_your new name_default.php - DONE"
I also installed an SQL patch so my altered page names can be turned on/off from the 'Define Page' Status in the Admin, but this has made no difference, and a blank page is still displaying without the text I've written.
I'd be so very grateful for some help with this issue as I've spent nearly 3 days trying to figure it out (the longest I've spent trying to figure out any single Zencart problem - just!)
Many thanks in advance.....
Bookmarks