View Single Post
  #18  
Old 01-25-2004, 06:35 PM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

Default

I have followed John's direction on this and even tried a few variables and still cannot get it to work.

I created a file "mallory.tpl" and tried it in both a sub directory of "skin1/customer/main/" and tried "skin1/customer/main/mallory". Form that I tried both of these versions of code in skin1/customer/home_main.tpl:

Code:
{elseif $smarty.get.mode eq "mallory"} {include file="customer/main/mallory.tpl"}
and
Code:
{elseif $smarty.get.mode eq "mallory"} {include file="customer/main/mallory.mallory.tpl"}

I also built the page "mallory.tpl" with this as the code:
Code:
{ include file="location.tpl" last_location="mallory"} {capture name=dialog} {/capture} test data for Mallory main page { include file="dialog.tpl" title="mallory" content=$smarty.capture.dialog extra="width=100%"}

When I try the link below I get NO change and just the default store home page: http://216.82.68.68/shop/customer/home.php?mode=mallory

I would prefer to use sub directories (one for each manufacturer) with their specific pages within that directory. What am I missing?
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote