Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Extra pages - Info Box-V3.2.1 contribution

http://www.oscommerce.com/community/contri...ons,2021/page,4

 

STS contribution

http://www.oscommerce.com/community/contri...,all/search,STS

 

I'm just updated my site with the Extra pages - Info Box-V3.2.1 contribution, and it seems that the STS contribution is intereing with it. (my site: http://www.martinadesigns.com/catalog/) Has anyone encountered this problem?

Posted

nevermind I figured it out. For anyone who is curiuos:

 

Instead of

 

catalog/includes/column_left.php (or column_right.php)

ADD

require(DIR_WS_BOXES . 'info_pages.php');

 

Do this:

 

catalog/includes/sts_user_code.php

ADD

$sts_block_name = 'newthingbox';

require(STS_START_CAPTURE);

require(DIR_WS_BOXES . 'info_pages.php');

require(STS_STOP_CAPTURE);

$template['newthingbox'] = strip_unwanted_tags($sts_block['newthingbox'], 'newthingbox');

 

where newthingbox = the name you want to use for your $tag in sts_template.html. Then simply add that name in sts_template.html.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...