Guest Posted April 18, 2007 Posted April 18, 2007 I am trying to create a new page which is made up of HTML. I've allready created a template page, but how do i get the html code to work within that new page? I've pasted it outside the php tags and then it displays at the top pushing the rest of the page down (Example My Broken Page) I've also tried pasting the code in the ""define('TEXT_INFORMATION', '');"" but that dont work coause it wont get recgognised then? Please help!!
Jack_mcs Posted April 18, 2007 Posted April 18, 2007 You need to create a new page by making a copy of an existing one. Then remove the code between the <body text> comments and place your code there. You may also need to remove an extra code at the top of the file in the php section. You need to do it this way to keep the overall appearance and layout of your shop the same for the new page. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted April 18, 2007 Posted April 18, 2007 You need to create a new page by making a copy of an existing one. Then remove the code between the <body text> comments and place your code there. You may also need to remove an extra code at the top of the file in the php section. You need to do it this way to keep the overall appearance and layout of your shop the same for the new page. Jack I've allready copied and renamed "/conditions.php and /includes/languages/english/condistions.php". As i understand it i edit the one in the english folder, but as there are no <bod Text> tags in there just php with 3 defines. The last define is the insert text bit which wont accept the html code. There must be an easier way to create new pages, i've tried sts but did'nt like the odd look i kept coming up with. I've looked for contributions but i must be looking in the wrong places!!
Guest Posted April 18, 2007 Posted April 18, 2007 Sorry Jack, you were right, just me being stupid again - thank god for this forum or i'd be lost I was editing the wrong file doh. I placed my code in the file thats in the main directory, and it works ok now, thank you so much and sorry for doughting you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.