
Originally Posted by
kitten091182
It doesn't work

Let's start by checking variables. Let's output inside the sidebox the content of some variables (so you can visible see what is populated and what is in the actual variables when browsing your site). You will not want to use / leave these code changes on a production site.
Add the stuff in red to the START of the file:
Code:
<?php
/**
* editable sidebox - allows a sidebox editable with the define pages editor to be added to your site
*
* @package templateSystem
* @copyright 2007 Kuroi Web Design
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: blank_sidebox.php 2007-08-10 kuroi $
*/
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
// Let's see what is currently in $current_page and $cPath
?><div>Current Page: <?php echo $current_page; ?></div>
<div>Current cPath: <?php echo $cPath; ?></div><?php
// Let's see what is currently populated in $_GET
?><pre><?php var_dump($_GET); ?></pre><?php
if ($_POST['cPath'] == '75') {