Zen Cart Logo
Forums / Basic Configuration / Anybody help in my ezpage sidebox?

Anybody help in my ezpage sidebox?

Locked

Views: 1,485

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
31 Mar 2007, 10:37 PM
#1
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Anybody help in my ezpage sidebox?

Hello,

I want to put a line between ezpages in sidebox, just like the way I did in my categories. My site: https://www.bestfuture.us

Any help will be highly appreciated!!

10 Apr 2007, 7:35 PM
#2
ozminiatures avatar

ozminiatures

New Zenner

Join Date:
Nov 2006
Posts:
10
Plugin Contributions:
0

Re: Anybody help in my ezpage sidebox?

Try this:

In /includes/templates/YOUR_TEMPLATE/sideboxes/tpl_ezpages.php

<?php /** * Side Box Template * * @package templateSystem * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_ezpages.php 2982 2006-02-07 07:56:41Z birdbrain $ */ $content = ""; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; $content .= "\n" . '<ul style="margin: 0; padding: 0; list-style-type: none;">' . "\n"; for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { $content .= '<hr id="catBoxDivider" />'; $content .= '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n" ; } // end FOR loop $content .= '</ul>' . "\n"; $content .= '</div>'; ?>Add the line in red in the same place