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
224 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
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.
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…

744 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

11 Experts available now in Live!

Get 1:1 Help Now