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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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:
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

726 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