Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Page Contents


andrewlondon

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...