View Single Post
  #1  
Old 06-17-2003, 03:12 PM
 
maki maki is offline
 

Advanced Member
  
Join Date: May 2003
Location: Spain
Posts: 46
 

Default (SOLVED) i need include .jsp file in .tpl file

Hi all !!! i am newbie member, & my english is very poor sorry :P

i have one question:

i need call .jsp file from .tpl file ... is possible ???

i create a new link embedded in home.php page with the metod of editing home_main.tpl:

{elseif $smarty.get.mode eq "revelar"}
{include file="customer/main/revelar.tpl"}


& creating revelar.tpl:

{ include file="location.tpl" last_location="Revelar On-Line"}
{capture name=dialog}
{include file="jsp/login.jsp"} -----> is correct?
{/capture}
{ include file="dialog.tpl" title="Revelado On-Line" content=$smarty.capture.dialog extra="width=100%"}


& add new link in corresponding whit necessary file:

Revelar

but the .jsp file is no ready

i attempt to incorporate one independent module in jsp and to integrate it in x-cart

any idea ??
Reply With Quote