Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help with Custom Templates for Infoboxes


Recommended Posts

I read in the manual that you can make a separate template for each infobox, ie. $searchbox $categorybox, etc

 

Presently all the info boxes default to using infobox.php.html which is located in the following folder:

 

catalog/includes/sts_templates/bjg/boxes

 

However I need to make a custom box template for each one, and the instructions say to change the template name to infobox_TEMPLATE NAME_php.html

 

So I created infobox_searchbox.php.html and infobox_category.php.html

 

when I run the index page http://www.bigjohnsonsguitars.com/catalog/index.php it sill keep pulling the infobox.php.html file

 

So I thought I needed to remove the infobox.php.html file and see what will happen

 

When I did that, I got an error saying that the file was missing.

 

So my question is, how do I create separate templates for the infoboxes? Is there a config file that I must change? I did make sure that the admin in Default was set to true for use of infobox templates.

 

Did I name the correctly? ie. "infobox_searchbox.php.html and infobox_category.php.html"?

 

Thank you

Link to comment
Share on other sites

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