View Single Post
  #2  
Old 03-18-2009, 05:57 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: tpl without xcart surroundings

So you should put your tpl somewhere in skin1 folder, write your own php file and place into admin directory.
PHP is something like this:
Code:
<?php require "./auth.php"; func_display("path_to_your_tpl/your_tpl_name.tpl",$smarty); ?>
where path_to_your_tpl is relative to skin1 folder
f.e. if your tpl is in skin1/admin it should be func_display("admin/your_tpl_name.tpl",$smarty);
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote