cms08 Posted June 4, 2008 Posted June 4, 2008 I want to add some custom pages. the information pages cant handle my code so I need them to be .php. how do I add new pages. I know to actually make the file name, but what code do I insert in the php page and any other pages like english
spooks Posted June 4, 2008 Posted June 4, 2008 What sort of custom pages & how are you going to give navigation access? Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
cms08 Posted June 4, 2008 Author Posted June 4, 2008 What sort of custom pages & how are you going to give navigation access? Im going to make a page similar to contact us. it will have a form for the customer to fill out and submit.
L!mit Posted June 4, 2008 Posted June 4, 2008 Well the easiest way is to just make a copy of shipping.php, then rename it to whatever you want the file called (eg newfile.php) Do the same for the shipping file in the languages directory. Then just add the new define and page name in includes/filenames.php. Update the "FILENAME" defines in your newfile to match what you entered in filenames.php. In your new file where is says <?php echo TEXT_INFORMATION; ?> you can add new code there. Backup.
spooks Posted June 4, 2008 Posted June 4, 2008 If you look at any pages you`ll see <!-- body_text //--> and <!-- body_text_eof //--> so change inside that and you have a new page. I have proposed Client Created Pages http://www.oscommerce.com/forums/index.php?showtopic=301396 and have several clients using it, I don`t know if thats the sort of thing your after, but there does'nt seem to be much call otherwise. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.