Hey Clyde,
Here is the code I have for my "wp_sidebar" sidebox:
Code:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email protected] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
if (in_array($cPath,explode(",",'14,14_1,14_2,14_3,14_19,5,14_6')) ) {
$show_wp_sidebar= false;
} else {
$show_wp_sidebar= true;
}
if ($show_wp_sidebar == true) {
require($template->get_template_dir('tpl_wp_cats.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_wp_sidebar.php');
$title = BOX_HEADING_WP_SIDEBAR;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
$title_link = 'wordpress';
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
?>
But it completely shuts off my right column. Well not shuts off but the only thing that shows up is this:
Code:
Parse error: parse error, unexpected $ in /home/content/b/a/s/basherbeatz/html/includes/modules/sideboxes/wp_sidebar.php on line 38
It's obvious that I'm missing something. I just don't know what that something is. Is the code that I'm using even close to what I need?
Thanks Clyde!