Zen Cart Logo
Forums / Basic Configuration / moving the column

moving the column

Locked

Views: 2,550

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
7 Feb 2008, 3:25 AM
#1
alpertheidiot avatar

alpertheidiot

New Zenner

Join Date:
Oct 2007
Posts:
20
Plugin Contributions:
0

moving the column

Hello,

I only need to move the right column to left hand side. the main image (or contents in other pages)will be shifted to right.

is there any chance i can do this?

regards,
alper

http://www.image-work.co.uk

7 Feb 2008, 11:37 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: moving the column

Not exactly sure what you're trying to say here...

You don't "move" the columns - unless of course you're doing a MAJOR overhaul of the software.

You "enable" and "disable" features such as these, using settings and "switches" in several places in the ADMIN console, mainly.

Some of the settings you may wish to play around with are:-

ADMIN >>> CONFIGURATION >>> LAYOUT SETTINGS (then see the "global column settings" references).

Then, if you "disable" a column, remember to check things like your side boxes, and what columns they are set to appear in:-

ADMIN >>> TOOLS >>> LAYOUT BOXES CONTROLLER.

You can also influence the behaviour of the columns by editing the file called "tpl_main_page.php".

If you edit this file, be sure to save the EDITED one in your "custom" folder. Do not over-write the ORIGINAL tpl_main_page.php file.

This is for OVER-RIDE reasons and if you need to know what that means, please search the forum for information on what OVER-RIDES are and how to configure them.

There are other places where you can govern the displaying of a column, for example:-

ADMIN >>> CONFIGURATION >>> EZ-PAGES SETTINGS.


I have DISABLED the right column for practically everything on my website - SA Online Shop. Stuff (side boxes) that may ordinarily appear in the right column I have put in the left column. Take a look (website link below)

7 Feb 2008, 11:49 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: moving the column

Apple Zen is one of the templates built to only display sideboxes on the right side. Sideboxes enabled for the left sidebar will be displayed on the right instead. (Personally I think this feature, while intended to "protect the newbies", ends up as more of a heavy-handed controller.)

You would need to edit /includes/templates/apple_zen/common/tpl_main_page.php and move the code around <div id="navColumnTwo"> to the area of navColumnOne. There would probably be some other tweaking needed as well.

You may want to post in the Apple Zen support thread for help with this.

10 Feb 2008, 2:56 AM
#4
alpertheidiot avatar

alpertheidiot

New Zenner

Join Date:
Oct 2007
Posts:
20
Plugin Contributions:
0

Re: moving the column

thanks for the replies

i appreciate

17 Oct 2008, 12:46 AM
#5
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: moving the column

Hate to bump such an old post, but I believe that the OP was trying to resolve the same issue I was presented with recently.. I received a similar request from a client who DESPERATELY wanted a layout similar to a Template Monster template she had seen and fell in love with.. She KNOWS I will NOT mess with TM templates.. This particular template has both of the sidebox columns on the right hand side of the screen.. This post was the ONLY thing I found in an exhaustive search of this forum that gave me a hint how to do it, and I wanted to share how I resolved it.

As usual gjh42 (AKA one of my Zen Cart heroes:smile:) provided me with the valuable clue I needed to attempt this.. I edited the /includes/templates/apple_zen/common/tpl_main_page.php file as he suggested.. With a little rearranging of the page elements, a few stylesheet adjustments, and adjustments to the sidebox and column widths from the admin, I was able to move both of my sidebox columns to display side by side just like that darm TM template my client was so enamored with.. If anyone is interested, you can see the result here: http://clients.overthehillweb.com/he101/

This is down and dirty as of today.. I just wanted to see if it could be done before I move forward with any other template customizations.. HTH someone else..

17 Oct 2008, 2:49 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: moving the column

DivaVocals:

If anyone is interested, you can see the result here: http://clients.overthehillweb.com/he101/

This is down and dirty as of today.. I just wanted to see if it could be done before I move forward with any other template customizations.. HTH someone else..

It's looking great! (from a layout point of view).

How about zipping it up and putting it in the Free Add-ons section?

17 Oct 2008, 3:52 PM
#7
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: moving the column

schoolboy:

It's looking great! (from a layout point of view).Thanks.. I thought so too.. I feel so smart now!:smartalec: (thanks to you all here on this forum!)

I wanted to get the layout elements in place before I started adding colors and graphics.. My client is having a difficult time with that process.. She wants to see it done.. I would rather lay the foundation, and build the house first before I start painting and decorating it. (Just makes my life a WHOLE lot easier) So I gave her a pair of rose colored glasses and asked her to be patient!:laugh:

schoolboy:

How about zipping it up and putting it in the Free Add-ons section?I can certainly do that.. :yes:

17 Oct 2008, 4:08 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: moving the column

That would be good to have; it would probably be best to do it on a /template_default/ version of tpl_main_page.php instead of any specific template version. (Of course, package it as /your_template/common/tpl_main_page.php etc.)

17 Oct 2008, 4:30 PM
#9
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: moving the column

gjh42:

That would be good to have; it would probably be best to do it on a /template_default/ version of tpl_main_page.php instead of any specific template version. (Of course, package it as /your_template/common/tpl_main_page.php etc.)Absolutely.. I learned from the best (that's you!) That's EXACTLY what I did..:yes: (See I told ya I was feeling smart!:smartalec:)

I wanted to create a COMPLETELY custom template so I started out with a generic stylesheet, and and have only modified the elements from the /template_default/ and added them to my /MY_TEMPLATE/ folder as I go..

2 Dec 2008, 7:24 PM
#10
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: moving the column

schoolboy:

How about zipping it up and putting it in the Free Add-ons section?I didn't know how to add this to the Free Add-Ons section, so I decided to zip it and attach it to this post..

For my client, I also included a little snippet that shows the shopping cart totals in the header area. (If you look at http://clients.overthehillweb.com/he101 this appears between the header image and the breadcrumbs on the right) If you want to remove this, delete or comment out this (lines 90-92):```

<!-- bof cart info --> <div id="cart_header" class="topBox">Shopping Cart<br /><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></div> <!-- eof cart info --> ``` Hope others find this useful..
2 Dec 2008, 8:24 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: moving the column

Since you have it zipped already, all you have to do is go to the Addons and Contributed Modules page, click "submit your file", create a main site account if you don't have one yet, and follow the submission instructions. It will ask for:
Contribution Details:
Title [give it an easy-to-use name]
Author [you]
Version [give it your mod version - v1.0 to start]
Zen Cart™ Version [select]
Category [select]
Description [give a good summary of the mod; this will stay as the top description forever through future versions]
Upload [browse]

2 Dec 2008, 9:11 PM
#12
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: moving the column

gjh42:

Since you have it zipped already, all you have to do is go to the Addons and Contributed Modules page, click "submit your file", create a main site account if you don't have one yet, and follow the submission instructions. It will ask for:
Contribution Details:
Title [give it an easy-to-use name]
Author [you]
Version [give it your mod version - v1.0 to start]
Zen Cart™ Version [select]
Category [select]
Description [give a good summary of the mod; this will stay as the top description forever through future versions]
Upload [browse]Gosh I dunno know if I'm worthy of having a contribution out there authored by little old me....:laugh:

Okay.. Lemme finish up what I am working on today, and tonight I'll do this..

3 Dec 2008, 9:08 AM
#13
atomic_s avatar

atomic_s

New Zenner

Join Date:
Nov 2007
Location:
Ukraine
Posts:
34
Plugin Contributions:
0

Re: moving the column

DivaVocals you are great!!!
best.

4 Dec 2008, 4:54 PM
#14
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: moving the column

atomic_s:

DivaVocals you are great!!!
best.You're welcome.. :smile: