View Single Post
  #2  
Old 01-22-2009, 08:23 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: How to include embedded page in .tpl file

When you create a embedded page you will get the .html link As Page filelike this: C:\wamp\www\xcart/skin1\pages\US\page_001.html)

So,
Try to use like this.I hope this will work.
{if $cat eq 244}
{include file="pages/US/page_001.html" }




Quote:
Originally Posted by Oktane Design
Hello Guys,

I would like to include the content of an embedded page into a .tpl file

In customer/main/subcategories.tpl i have added this code a the top of the page :

Code:
{if $cat eq 244} {include file="" } {else}

If the cateogry is 244 i would like to call the content of an embedded page instead of the subcategories list.

Do you have any idea how i could do this?

Thanks a lot
Reply With Quote