andrewlondon Posted February 19, 2008 Posted February 19, 2008 Hi, i'm wondering if anyone on here can help me. I've created a new page using the instructions found on this forum and it is all working as it should. The problem i have, is when i tried to edit the new page in my languages directory i've only got 3 defines. How would i go about putting tables and some javascript in there? Would the best method be to use an include and call up the file i want displayed in the text area? Thanks, Andrew
burt Posted February 19, 2008 Posted February 19, 2008 define('TEXT_INFORMATION', '<table><tr><td>stuff</td></tr></table><script type="text/javascript">whatever</script>'); You could have tried this ;)
andrewlondon Posted February 19, 2008 Author Posted February 19, 2008 Hi, i'm wondering if anyone on here can help me. I've created a new page using the instructions found on this forum and it is all working as it should. The problem i have, is when i tried to edit the new page in my languages directory i've only got 3 defines. How would i go about putting tables and some javascript in there? Would the best method be to use an include and call up the file i want displayed in the text area? Thanks, Andrew I've worked this out. I'm editing mynewpage.php in the catalog directory instead of the language one and it is working fine. Thanks
andrewlondon Posted February 19, 2008 Author Posted February 19, 2008 define('TEXT_INFORMATION', '<table><tr><td>stuff</td></tr></table><script type="text/javascript">whatever</script>'); You could have tried this ;) Yes but i had a lot of javascript that needed to go in the <head> and some php that needed to go in a certain place. Like i said, i've edited the hell out of my new page in the catalog directory and it is working as it should. Just got to figure a way around my multiple headers problem! :D Doh!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.