View Single Post
  #2  
Old 08-19-2003, 08:32 PM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default

I dont know where the post is but here is an example of what you need to do.

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

This should get you started. Sincererly, John7
Reply With Quote