Forums / Addon Templates / I'm using a spinoff on the classic template - would like to change sidebox layouts.

I'm using a spinoff on the classic template - would like to change sidebox layouts.

Locked

Views: 1,240

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
4 Feb 2009, 4:30 PM
#1
mumzie avatar

mumzie

Inactive

Join Date:
Feb 2007
Posts:
211
Plugin Contributions:
0

I'm using a spinoff on the classic template - would like to change sidebox layouts.

I am currently using a variation of the classic template here:
www.shirts4bowling.com

I really like the ZJ Black2 layout - but after I installed it on my test site, I found I didn't like the disappearing "feature" at all!
http://www.bowling4shirts.com/test2/shirts4bowling.com/

I would like to change the layout of my sideboxes to stack on the right - like the ZJ Black2 layout - is there a way to change the classic CSS to do this?

Thanks in advance.

4 Feb 2009, 4:47 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: I'm using a spinoff on the classic template - would like to change sidebox layouts.

You are using ZenCart 1.3.8a??
and the classic - modified??

Zen-Venom Get Bitten

4 Feb 2009, 5:23 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: I'm using a spinoff on the classic template - would like to change sidebox layouts.

To simply stack two sidebars on the right would be very easy. To also have the "double-wide" sidebox above those would involve a lot more coding.

In your /includes/templates/your_template/common/tpl_main_page.php, find this section```php

<?php if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) { // global disable of column_left $flag_disable_left = true; } if (!isset($flag_disable_left) || !$flag_disable_left) { ?> <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>"> <?php /** * prepares and displays left column sideboxes * */ ?> <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td> <?php } ?> ```and move it exactly as is to this point```php ?></td> <?php //if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' && $_SESSION['customers_authorization'] != 0)) { if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) { ```between the ?></td>

and the

<?php