sac9829 Posted May 16, 2004 Posted May 16, 2004 Hi Im trying to add more pages into the information box. Im using the following steps: 1. Rename the enclosed page (catalog/new_page.php) to whatever you need e.g foobar.php. Open it and change the 2 occurances of FILENAME_NEW_PAGE to match your chosen page name e.g FILENAME_FOOBAR. Upload to your catalog/ directory 2. Rename the enclosed new_page.php in catalog/includes/languages/english/ to your new name e.g foobar.php (Dont forget to add your contents!) Now upload to your server into catalog/includes/languages/english/ 3. add to application_top.php the following Define('FILENAME_FOOBAR', 'foobar.php'); Changing 'foobar' for your own chosen name of course! 4. in catalog/includes/boxes add to information.php (or whichever box you want the new link to go into)a new line '<a href="' . tep_href_link(FILENAME_FOOBAR, '', 'NONSSL') . '">' . BOX_INFORMATION_FOOBAR . '</a><br>' . 5. In catalog/includes/languages/english.php add new line define('BOX_INFORMATION_FOOBAR', 'Foobar'); Again, change foobar to your own name. But when I get to set 3 I cant see where all the other pages in the inforamtion box are Define. So I would like to know where they are defined in the database.
nrlatsha Posted May 16, 2004 Posted May 16, 2004 Do that step in catalog/includes/filenames.php 9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard) Replace that and you're fine...
sac9829 Posted May 16, 2004 Author Posted May 16, 2004 My page looks as follows http://sacotech.com.au/catalog/wholesale.p...9c5786bc84ca6fc do you know why this is?
SGershon Posted May 16, 2004 Posted May 16, 2004 You are not using the stylesheet. Probably it not in the proper plce. Take stylesheet.css and upload/move it to the catalog directory. If at first you don't succeed, you must be a programmer. Tip Posted: Languageless Reviews
sac9829 Posted May 16, 2004 Author Posted May 16, 2004 It is in that directory. It is only happening to that page. It has only happened to the new page which I have tried to add!
nrlatsha Posted May 16, 2004 Posted May 16, 2004 You'll need to modify that file, you currently have that page looking for the stylesheet here: <link rel="stylesheet" type="text/css" href="file:///C|/Documents%20and%20Settings/User/Local%20Settings/Temp/stylesheet.css"> You'll have to fix the references to that and re-upload. 9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard) Replace that and you're fine...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.