Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

darkseid

Archived
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Ruodong

darkseid's Achievements

  1. Short Version: In /includes/column_left.php: Duplicate the code in column_left.php that you find around the require(BOXFILENAME) and make sure that the $sts_block_name has the correct name for the block ABOVE it. This is the name you'll use for the variable in the sts_template.html file. NOTE: I moved ALL boxes into column_left.php to make maintaining it easier so you don't have to figure out which (left or right) file the boxes are stored in. If you want to put stuff in column_right it will work, but it's easier to just leave them in column_left.php. In /includes/sts_display_output.php: In the Create custom boxes section, add a new line like this: $template['newsdeskbox'] = strip_unwanted_tags($sts_block['newsdeskbox'], 'newsdeskbox'); That should be all you need to do. In the above example, you can then use $newsdeskbox as a variable name in your sts_template.html file. If you need more details, let me know. - bg Hello, I've tried to add a box to use in sts_template.html and it didnt work.... After copying the code in column_left.php i dont know what name should i give to the function: tep_cache_......_box ?? I'm trying to add the tell_a_friend.php to the template... If somebody could help me....
×
×
  • Create New...