Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

manufacturers_id to artists_id in the URL?


Guest

Recommended Posts

Posted

How do i change manufacturers_id to artists_id in the URL?

I dont think manufacturer is the best word for an artist!

thanks

 

Caspar

 

FyersArt.com

Posted
How do i change manufacturers_id to artists_id in the URL?

I dont think manufacturer is the best word for an artist!

thanks

 

Caspar

 

FyersArt.com

If you don't care about elegance, you sould just find and replace all instances of manufacturers_id with artists_id before installing the database.

 

(this will leave the strange artefact that you have a table manufacturers with a column artists_id and you will have to do the same for all contributions you wish to use in the future)

 

HTH

Rob

Posted

On second thought it is better to find and replace

 

"_VARS['manufacturers_id']" with "_VARS['artist_id']"

 

and

 

"manufacturers_id=" with "artist_id="

 

This way you leave the database untouched to avoid future hassle.

 

HTHM,

Rob

Posted

Thanks for that :)

I do care about elegance, but when i first started on OSC i didnt have a clue about coding in any way, or how flexible PHP and OSC can be.

Archived

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

×
×
  • Create New...