Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding and running queries


Guest

Recommended Posts

I've created a new field on my ?pages? table in phpmyadmin and called it: headertags, and the field is text. But what i need to do now is to open: catalog/admin/page_manager.php and change the queries to support one more field. Can anyone tell me how to do this as i don't know php very well?

 

I also need to go into: catalog/info_pages.php and on <head> section run a query to read this data from the database and echo there, but i'm also unsure on this.

 

Can anyone please help?

Thanks to anyone in advance.

Justin.

Link to comment
Share on other sites

there is a header tags controller contribution, which takes into account all the required fields, suggest using that instead of creating your own.

includes all the queries to use.

Link to comment
Share on other sites

Hi John, thanks but i've added that contribution but i'm trying to make it work with my extra pages created with an 'extra pages' contrib. Just need to know how i go about adding these instructions that i've been given.

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...