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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article shows how a content item can be identified directly or through translation of a navigation type. It then shows how this information can be used to create a menu for further navigation.
Learn about the eCommerce marketing trends for the year ahead.
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.

910 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now