Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
277 Views
Last Modified: 2014-10-23
Zencart version 1.3.9d.

Thank you.
0
Comment
Question by:jvutechnc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
fearialtog earned 2000 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

Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
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 tutorial demonstrates a quick way of adding group price to multiple Magento products.

610 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