View Single Post
  #7  
Old 01-04-2004, 08:15 AM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default Re: This is what you really want.

Create a file called extrainfo.tpl in your skin1/customer/main/ directory.

Here is some sample code for your extrainfo.tpl file:
Code:
{ include file="location.tpl" last_location="Extra Info"} {capture name=dialog} {/capture} { include file="dialog.tpl" title="Extra Info" content=$smarty.capture.dialog extra="width=100%"}

Then go into skin1/customer/ and open the file home_main.tpl then insert these two lines of code
Code:
{elseif $smarty.get.mode eq "extra"} {include file="customer/main/extrainfo.tpl"}


Then you can create a hyperlink as such
Code:
http://www.yoursite.com/yourlink/customer/home.php?mode=extra




John7
Reply With Quote