26 Oct 2009, 11:16 PM
New Zenner
- Join Date:
- Jun 2009
- Posts:
- 35
- Plugin Contributions:
- 0
Custom sideboxes generate a "1"
Maybe someone could help me out with a problem I've been having with some custom sideboxes. Here is an example of the tpl file that I am using to define the $content:
<?php
$content = require($template->get_template_dir('/tpl_modules_rightbar.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_rightbar.php');
?>
This will output fine, but it will add a "1" below the box. Also if I add another require, it will add another "1". Has anyone seen this before? You can view it at:
http://ren-yi.com/index.php?main_page=product_info&cPath=3&products_id=2
The 1's appear on both sidebars. I also noticed that the content is not inside the Div's I set for the sideboxes. Thanks for any help.
JW