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

How to hide modules on certain pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-26-2004, 08:18 AM
 
scott_dev scott_dev is offline
 

Member
  
Join Date: May 2004
Location: San Diego, California
Posts: 12
 

Default How to hide modules on certain pages

I want to hide the "send to a friend" and "Recommended products list" on my item pages for categories designated as "hidden". Could someone help me with the smarty code I wold need to use?
__________________
Scott Robinson
X-Cart 4.0.0 - Heavily Modified
PHP version 4.3.9
Operating system Linux
Kernel version 2.6.8.1
Machine Type i686
Apache version 1.3.32 (Unix)
PERL version 5.8.4
MySQL version 4.0.20-standard
Reply With Quote
  #2  
Old 11-26-2004, 11:07 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Can you elborate on what you mean by "hidden" ?
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #3  
Old 11-26-2004, 12:00 PM
 
scott_dev scott_dev is offline
 

Member
  
Join Date: May 2004
Location: San Diego, California
Posts: 12
 

Default Hidden items

Just that I don't want those items to appear on the select category item detail pages, but do want them to appear for all other categories.
__________________
Scott Robinson
X-Cart 4.0.0 - Heavily Modified
PHP version 4.3.9
Operating system Linux
Kernel version 2.6.8.1
Machine Type i686
Apache version 1.3.32 (Unix)
PERL version 5.8.4
MySQL version 4.0.20-standard
Reply With Quote
  #4  
Old 11-27-2004, 07:22 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Quote:
Custom Templates
Have you created a custom tool, feature or design that you want to show off? You can post your personally customized templates here and share your work with the forum. Please, no requests or wish lists here - this topic is only for posting customized X-cart files
Moderators B00MER, shan, funkydunk
Reply With Quote
  #5  
Old 11-29-2004, 03:51 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

wrap the includes in this

Code:
{if $cat ne 99} include .... {/if}

change 99 to the category you want to hide stuff in
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 02-06-2005, 01:19 AM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default A little more please

Can you tell me a little more in depth on how to do this, I'm trying to hide the right side modules on certian product detail pages and want the descriptions to streach all the way to the right.

Thanks
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
Reply With Quote
  #7  
Old 02-06-2005, 05:32 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Please, post your X-Cart version number in your signature. We cannot help you unless we know what version you are using.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 02-06-2005, 10:33 AM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default Hide Column

Sorry about that I added all my info to my signature.
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:03 PM.

   

 
X-Cart forums © 2001-2020