Solved

How do i move a zencart sidebox module to the center column?  I want it to display in the center column.

Posted on 2010-09-17
3
241 Views
Last Modified: 2014-10-23
Zencart version 1.3.9d.

Thank you.
0
Comment
Question by:jvutechnc
3 Comments
 
LVL 10

Accepted Solution

by:
fearialtog earned 500 total points
ID: 33805695
You will have to edit the sites template to accomplish this. If you are not familiar with programming i would not attempt this.

Option 1 ----------------------edit your template file
First make a copy of this file--- tpl_main_page.php
Find the position on the page where you want the sideboxes to appear and insert the following code. note replace right with left to make the left boxes appear.

<div id="some name here" style="width: <?php echo  BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES .  zen_get_module_directory('column_right.php')); ?></div>


Option 2------------------------- Download the following extension and install it----------------------

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=79http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=79

USAGE INSTRUCTIONS:
 1. Upload this single_sidebox.php file to the same folder as your Zen Cart files.
 2. On a PHP page where you desire to show Zen Cart sidebox content, insert the following code:
   $zcSBmodule = 'name.php'; // name of sidebox or centerbox to be   displayed (see filenames in the /includes/modules/sideboxes folder) (if   not set, uses "whats_new.php")
  $zcSBlayout = 'left'; // 'left' or 'right' sidebox template style (if not specified, uses 'left')
  require ("path/to/zencart/single_sidebox.php");

Good luck







0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The aim of this article is to help you solve the error "Cannot insert the value NULL into column 'ShortDescription', table 'albert_store.dbo.Nop_Product'; column does not allow nulls. UPDATE fails." problem and allow you to continue updating your No…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question