Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

camNZ

Archived
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • Real Name
    Campbell

camNZ's Achievements

  1. Please ignore the above, i read the code and see this is stored in the config table
  2. I was hoping to get some direction/guidance on changing the STS_TEMPLATE contribution. Bascially I want to store the parameter which controls which template to use in the database instead of the page (where it is currently stored). As far as I understand the contribution, whenever the template folder is updated from the admin panel the value of the folder/template being used is updated and stored somehow. I would like to write this value to the database (naturally i would need to create a new table, called templates etc). I guess I need to know which part of the contribution handle the above action? Has anybody any experience in performing a change like this? Thanks in advance. Campbell
  3. I was hoping to get some direction/guidance on changing the STS_TEMPLATE contribution. Basically I want to store the parameter which controls which template to use in the database instead of the page (where it is currently stored???). As far as I understand the contribution, whenever the template folder is updated from the admin panel the value of the folder/template being used is updated and stored somehow (in the page?). I would like to write this value to the database (naturally i would need to create a new table, called templates etc). I guess I need to know which part of the contribution handles the above action? Has anybody any experience in performing a change like this? Thanks in advance. Campbell
  4. I was wondering if anyone knows where to define an alternate directory for my sts_templates folder. i.e. currently it resides in includes/sts_templates/ and I would like to move it say to catalog/sts_templates/ Where would I define what the new path is? in classes/sts.php or something?? Thanks in advance. Campbell
  5. Greetings, Im using STS: $sts_version = "2.01"; $sts_osc_version = PROJECT_VERSION; $sts_osc_version_required = "osCommerce 2.2-MS2"; and have successfully been using the .html template, however when my site initially loads (index.php) I am getting this extra "</" at the very end where the </html? should be: ********* </body> </ ********* When i refresh the page this goes away and is replaced with: ********* </body> </html> ********* From doing a comparison with the source on both pages, I can see the first (with the error) has "?osCsid=3504a4fec016f15a41aedb59025f2f60" attached to each link, however when the page is refreshed this is removed from each link? The page still functions as it should, it just looks ugly with "</" displaying at the bottom. Can anyone help? thanks
×
×
  • Create New...