Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Home page without left or right side bar

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-22-2009, 12:27 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Home page without left or right side bar

post the code you are using again.

can you post the url?
__________________
xcart 5.1.2
Reply With Quote
  #12  
Old 01-22-2009, 12:46 PM
 
jholley jholley is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 66
 

Default Re: Home page without left or right side bar

Here's what I am using
{if $current_category.category ne ""}
sidebar content
{/if}

This hides the side bar on the homepage and the static pages, but allows the side bar to show up everywhere else.
__________________
Joe Holley
4.2
Reply With Quote
  #13  
Old 01-22-2009, 12:49 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Home page without left or right side bar

is that what you want?
__________________
xcart 5.1.2
Reply With Quote
  #14  
Old 01-22-2009, 01:41 PM
 
jholley jholley is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 66
 

Default Re: Home page without left or right side bar

No, I want the side bars to show up on static pages also.
__________________
Joe Holley
4.2
Reply With Quote
  #15  
Old 01-22-2009, 01:45 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Home page without left or right side bar

well you need to use this.

{if $main ne "catalog" and $current_category.category eq ""}
sidebar content
{/if}

it works fine, unless you have had customization doe to your store already.
__________________
xcart 5.1.2
Reply With Quote
  #16  
Old 01-23-2009, 06:02 AM
 
jholley jholley is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 66
 

Default Re: Home page without left or right side bar

There aren't any customizations that would affect this, but using that still doesn't work.


thanks anyways.
__________________
Joe Holley
4.2
Reply With Quote
  #17  
Old 03-18-2013, 07:30 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Home page without left or right side bar

can anyone tell me how i would remove the sidebar completely ? ive managed to remove it but my code must be wrong because theres still a gap where the sidebar should be and i want it full width if possible ?
__________________
X-Cart Version 4.55
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:34 AM.

   

 
X-Cart forums © 2001-2020