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

New custom page inside x-cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-09-2007, 02:31 PM
 
phoenixrider phoenixrider is offline
 

Member
  
Join Date: Aug 2007
Posts: 15
 

Default New custom page inside x-cart

Let's say I wanted to create an all new page, then insert the include for for what I want to include in the content area. Can this be done?

let me explain a little more. Say I have a site, and site navigation. Instead of using the 'categories' as navigation, I point to a page from my navigation, then the page it lands on will have the x-cart content, say a product listing page.

Does this make any sense?

My experience with x-cart is limited, what I have been taught up to this point is we customize the home.tpl. This works fine for I had done. On this new site, I want different headers to be displayed based on where you are on the site, different content area images, etc... not just one central 'store'

thanks
__________________
v 4.1.8
Reply With Quote
  #2  
Old 08-09-2007, 04:48 PM
 
balinor balinor is offline
 

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

Default Re: New custom page inside x-cart

You can use {if} statements to display different content/graphics based on where you are in the store...is that what you mean?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-09-2007, 06:30 PM
 
phoenixrider phoenixrider is offline
 

Member
  
Join Date: Aug 2007
Posts: 15
 

Default Re: New custom page inside x-cart

Yeah, I was thinking about that - probably easier - except that I have to learn the if tags, and smarty tags, and php... I guess I was hoping for a more simple html way...

But yeah, depending on the categorie you're on, I'd like a specific header graphic to be shown, along with some content area specific graphics

Is there a good link to learn these 'if' statements? I'm sure with enough beer in me I can learn anything
__________________
v 4.1.8
Reply With Quote
  #4  
Old 08-10-2007, 04:17 AM
 
balinor balinor is offline
 

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

Default Re: New custom page inside x-cart

http://forum.x-cart.com/showthread.php?t=8881
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-10-2007, 06:53 AM
 
phoenixrider phoenixrider is offline
 

Member
  
Join Date: Aug 2007
Posts: 15
 

Default Re: New custom page inside x-cart

Yeah, I read that. I bit over my head, but I kninda understand it.

I guess what I need to do is something like 'if cat id=x then display header1'
__________________
v 4.1.8
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 03:42 PM.

   

 
X-Cart forums © 2001-2020