View Single Post
  #1  
Old 10-17-2006, 08:59 PM
 
fogelka fogelka is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 83
 

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

I've been taking bits and pieces from different threads, and creating what seems almost like a Frankenstein monster. Now, I have run into a wall, and can't finish. So far...

Within home.tpl, I have succeeded in eliminating all xCart content below the header, and inserting a "entry.tpl" home page there. This is by placing this before the tables in home.tpl :

{if $main eq "catalog" and $current_category.category eq ""}
{include file="entry.tpl"}
{else}

I have moved and re-formatted the authbox into the header, so I still have an active page for logging in, etc. I also have pulldowns in the header, which link to the xCart categories. That works great.

Here's where I'm stuck. I cannot find a way to bring other non-xCart pages into home.tpl to replace "entry.tpl", while keeping the active header, and no xCart stuff below. I've tried $menu ideas, and several other things. Is there a way to have an alternative home.tpl or create an "entry.php" that I can use as a non-xcart alternative to home.php? I thought I could set $main there, as, say, $smarty assign->("main", "content"), and go from there.

Please help, if you can! (I've been on this for days on end.) Thanks!
__________________
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