funkyducky Posted August 5, 2006 Share Posted August 5, 2006 Hi, I want to add a new infobox that contains some more content such as about us, links etc. I want this at the right hand side. I've created all the pages and they are all sitting nicely in the information box. I have tried to put them in a new infobox with the following steps but nothing is appearing. Can anyone let me know what I've forgotten to do. I'm sure it's something very simple. Here are the steps. Included the line include(DIR_WS_BOXES . 'mybox.php'); in catalog>includes>column_right.php I've created a new infobox, mybox.php in catalog>includes>boxes based on the information.php template this is as follows $boxHeading = BOX_HEADING_MYBOX; $corner_left = 'square'; $corner_right = 'square'; $box_base_name = 'mybox'; // for easy unique box template setup (added BTSv1.2) $box_id = $box_base_name . 'Box'; // for CSS styling paulm (editted BTSv1.2) ?> <?php $boxContent = '<a href="' . tep_href_link(FILENAME_LINKS) . '"> ' . BOX_MYBOX_LINKS . '</a><br>' .; include (bts_select('boxes', $box_base_name)); // BTS 1.5 ?> I've then included this line in includes>language>english.php define('BOX_HEADING_MYBOX', 'Mybox); define('BOX_MYBOX_LINKS', 'Links); Nothing appears and no errors. Any idea what I'm missing. I've done a search through my website files on my harddrive to identify what files I need to add something in when adding an info box and nothing. Any suggestions? Thanks in advance. Kind regards Link to comment Share on other sites More sharing options...
jhsands Posted August 5, 2006 Share Posted August 5, 2006 I've created a new infobox, mybox.php in catalog>includes>boxes based on the information.php template this is as follows Add the files to includes/filenames.php Also, check your error_log in the /catalog/ directory. It probably has your answer. :) BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.