View Single Post
  #3  
Old 10-18-2006, 09:45 PM
 
fogelka fogelka is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 83
 

Default Re: How about an alternative home.php for integrating xCart/non-xCart?

Thanks again, Jon. With your help I was able to get the non-xCart page integrated correctly.

In doing so, I also finally realized what I needed to do to pull all the other non-cart pages in. I simply created a new "index.php" , a new "index.tpl", and a new "index_main.tpl". Then, I used them just like the home.php, home.tpl, and home_main.tpl for xCart. Only this way, I could have whatever formats, content, etc. I wanted in the main section, and no xCart stuff. Everything links back and forth seamlessly.

The nice thing is that the entire site is tied together very nicely by the similar (though different) header, which is active in both sides of the site. I have the "authbox" reformatted and re-laid out, and pulled into the header, along with pulldowns for the categories. That way, throughout all of the xCart and non-xCart pages, there is a consistent log-in/log-out, plus you can jump to a product at any time.

I'm nearly home now! Thanks again.
__________________
xcart v4.0.18 [linux]

Loyalty Points, DSEFU, Easy Checkout, Featured Product Manager, Remember Me, Relevant Search, Vertical Flyouts, Multiple Category Templates. Loads of other tweaks and mods learned in forums.
Reply With Quote