Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help getting the 'Featured Box' contrb working with STS 4.3.3


itsgraham

Recommended Posts

Hi all

I am in the middle of installing the featured box contribution and am having a problem with one of the sts files.

 

It says....

15.3 Add the following lines to /catalog/includes/sts_display_output.php

 

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

 

and further down

 

echo $sts_block['featured'];

 

Well, I eventually found the file in the modules folder but it doesn't say where to insert these lines. I gave it my best guess but just get errors. Would any of you know where it goes and what is causing the errors?

 

The error itself is related to an unrecognised call relating to the strip_unwanted_tags($sts_block['featuredbox'], 'featuredbox'); bit.

 

At the moment, without the above code added to the file concerned I am just getting '$featuredbox' where the box is supposed to be.

 

regards

Graham

Link to comment
Share on other sites

Hi all

I am in the middle of installing the featured box contribution and am having a problem with one of the sts files.

 

It says....

15.3 Add the following lines to /catalog/includes/sts_display_output.php

 

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

 

and further down

 

echo $sts_block['featured'];

 

Well, I eventually found the file in the modules folder but it doesn't say where to insert these lines. I gave it my best guess but just get errors. Would any of you know where it goes and what is causing the errors?

 

The error itself is related to an unrecognised call relating to the strip_unwanted_tags($sts_block['featuredbox'], 'featuredbox'); bit.

 

At the moment, without the above code added to the file concerned I am just getting '$featuredbox' where the box is supposed to be.

 

regards

Graham

 

Does anyone have this featured box contribution working with STS ?

 

Graham

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...