Forums / Upgrading to 1.5.x / Quick question about fresh install of 1.5.1 with database import from 1.3

Quick question about fresh install of 1.5.1 with database import from 1.3

Started by nonfinite on 27 Nov 2012, 8:38 PM · Views: 2,461

Results 1 to 8 of 8
27 Nov 2012, 8:38 PM
#1
nonfinite avatar

nonfinite

Zen Follower

Join Date:
May 2008
Posts:
203
Plugin Contributions:
0

Quick question about fresh install of 1.5.1 with database import from 1.3

I have my livesite on 1.3 currently: http://nonelectronics.com/catalog/

1.5.1 is up and running (for the most part) at http://nonelectronics.com/zendemo

EDIT: The template is imported from my 1.3 build as well. The entire templates folder and html_includes (all the define pages) was ported over.

My question: Why isn't my sidebar showing up on the left? Everything looks ok in the back end, and it would seem all of the css is still there. Not really sure what I'm missing.

27 Nov 2012, 8:54 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Quick question about fresh install of 1.5.1 with database import from 1.3

When you activated the template did you access
admin > tools > layout boxes controller

Zen-Venom Get Bitten

27 Nov 2012, 9:02 PM
#3
nonfinite avatar

nonfinite

Zen Follower

Join Date:
May 2008
Posts:
203
Plugin Contributions:
0

Re: Quick question about fresh install of 1.5.1 with database import from 1.3

Yes. I have 5 enabled boxes and set in order from 0-4 on LEFT.

I have layout set to LEFT - 1 RIGHT - 1 sizes 165px and 150px (2x each, as both columns have 3 settings in that page).

I also had it running with RIGHT set to 0 and 0px 0px.

27 Nov 2012, 9:15 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Quick question about fresh install of 1.5.1 with database import from 1.3

From your demo site source view

<div id="navColumnOne" class="columnLeft" style="width: 165px"> 

<div id="navColumnOneWrapper" style="width: 165px"> 
<td id="navColumnOne" class="columnLeft" style="width: 165px">

</div>

Versus your main site source view

<td id="navColumnOne" class="columnLeft" style="width: 130px">

<div  id="navColumnOneWrapper" style="width: 150px"><!--// bof: categories //-->

<div style="margin-left:10px; margin-bottom:10px;" id="categories" style="width: 150px">
<h3 class="leftBoxHeading" id="categoriesHeading">Categories</h3>
<div id="categoriesContent" class="sideBoxContent">
<a class="category-top" href="http://www.nonelectronics.com/catalog/index.php?main_page=index&cPath=8&zenid=6408jivmai0g6urpejfgq7p3j4">Accessories</a> (9)<br />
<a class="category-top" href="http://www.nonelectronics.com/catalog/index.php?main_page=index&cPath=2&zenid=6408jivmai0g6urpejfgq7p3j4">Cartridges</a> (4)<br />
<a class="category-top" href="http://www.nonelectronics.com/catalog/index.php?main_page=index&cPath=14&zenid=6408jivmai0g6urpejfgq7p3j4">Custom Cases</a> (3)<br />
<a class="category-top" href="http://www.nonelectronics.com/catalog/index.php?main_page=index&cPath=10&zenid=6408jivmai0g6urpejfgq7p3j4">D.I.Y. Products</a> (23)<br />
<a class="category-top" href="http://www.nonelectronics.com/catalog/index.php?main_page=index&cPath=1&zenid=6408jivmai0g6urpejfgq7p3j4">Game Boy</a> (2)<br />
<a class="category-top" href="http://www.nonelectronics.com/catalog/index.php?main_page=index&cPath=3&zenid=6408jivmai0g6urpejfgq7p3j4">Modification</a> (1)<br />
<a class="category-top" href="http://www.nonelectronics.com/catalog/index.php?main_page=index&cPath=13&zenid=6408jivmai0g6urpejfgq7p3j4">Music</a> (1)<br />
<a class="category-top" href="http://www.nonelectronics.com/catalog/index.php?main_page=index&cPath=11&zenid=6408jivmai0g6urpejfgq7p3j4">Trade-In's</a> (1)<br />
<hr id="catBoxDivider" />
<a class="category-links" href="http://www.nonelectronics.com/catalog/index.php?main_page=products_all&zenid=6408jivmai0g6urpejfgq7p3j4">All Products ...</a>
</div></div>

Recheck that you are looking at your demo's admin

Zen-Venom Get Bitten

27 Nov 2012, 9:35 PM
#5
nonfinite avatar

nonfinite

Zen Follower

Join Date:
May 2008
Posts:
203
Plugin Contributions:
0

Re: Quick question about fresh install of 1.5.1 with database import from 1.3

Verified, I'm in the demo backend.

The CSS for the column is as follows:

<td id="navColumnOne" class="columnLeft" style="width: 165px"> </td>

Looks like the css is there, it's just...devoid of content.

27 Nov 2012, 9:42 PM
#6
nonfinite avatar

nonfinite

Zen Follower

Join Date:
May 2008
Posts:
203
Plugin Contributions:
0

Re: Quick question about fresh install of 1.5.1 with database import from 1.3

Did some more digging. 1.3 livesite has css for #NavColumnOneWrapper in inspector. Searched for that...

/home1/nonfinit/public_html/zendemo/includes/templates/barebones/common/tpl_main_page.php

Line #102 : <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"> 
 
/home1/nonfinit/public_html/zendemo/includes/templates/cherry_zen/common/tpl_main_page.php

Line #132 : <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"> 
 
/home1/nonfinit/public_html/zendemo/includes/templates/template_default/common/tpl_main_page.php

Line #91 : <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td> 

The sidebar works on the cherry_zen and default templates

I then searched for bof: categories in the livesite and demosite separately.

demo

/home1/nonfinit/public_html/zendemo/includes/templates/barebones/templates/tpl_index_product_list.php

Line #92 : //// bof: categories error 

Line #150 : //// bof: categories 

live

/home/nonfinit/public_html/catalog/includes/templates/barebones/templates/tpl_index_product_list.php

Line #92 : //// bof: categories error 

Line #150 : //// bof: categories
27 Nov 2012, 9:57 PM
#7
nonfinite avatar

nonfinite

Zen Follower

Join Date:
May 2008
Posts:
203
Plugin Contributions:
0

Re: Quick question about fresh install of 1.5.1 with database import from 1.3

all of

<div style="margin-left:10px; margin-bottom:10px;" id="categories" style="width: 150px">
<h3 class="leftBoxHeading" id="categoriesHeading">Categories</h3>
<div id="categoriesContent" class="sideBoxContent">
<a class="category-top" href="http://www.nonelectron...

Seems to come from barebones/common/tpl_box_default_left.php

This file is present in the directories for both the livesite and demosite.

27 Nov 2012, 10:20 PM
#8
nonfinite avatar

nonfinite

Zen Follower

Join Date:
May 2008
Posts:
203
Plugin Contributions:
0

Re: Quick question about fresh install of 1.5.1 with database import from 1.3

Got it!

updated tpl_main_page.php in my template's common folder with the following from the default template:

 <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>

lines 85-93 (for future googlers)

Can someone remove the urls now that the issue is resolved, please?