My hair is starting to fall out. Maybe, I'm just being stupid, but I am running out of time here.
This is what I am trying to do.
I copied the code from the home.tpl and made a myaccount.tpl:
Code:
{* $Id: home.tpl,v 1.15 2004/07/13 13:35:42 svowl Exp $ *}
{ config_load file="$skin_config" }
<HTML>
<HEAD>
<TITLE>
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{/if}
</TITLE>
{ include file="meta.tpl" }
<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"></HEAD>
<BODY leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
{ include file="rectangle_top.tpl" } { include file="head.tpl" }
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
<td width="657"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="http://www.pariscape.com/images/border_left_bg.gif">[img]http://www.pariscape.com/images/spacer.gif[/img]</td>
<td height="10" align="left" valign="top" bgcolor="#FFFFFF">[img]http://www.pariscape.com/images/spacer.gif[/img]</td>
<td background="http://www.pariscape.com/images/border_right_bg.gif">[img]http://www.pariscape.com/images/spacer.gif[/img]</td>
</tr>
<tr>
<td width="10" background="http://www.pariscape.com/images/border_left_bg.gif">[img]http://www.pariscape.com/images/spacer.gif[/img]</td>
<td align="left" valign="top" bgcolor="#FFFFFF">
<TABLE border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<TR>
<TD width="150" valign="top">{include file="customer/side_menu.tpl"}
<TD width="20"></TD>
<TD valign="top">
{include file="location.tpl"} {include file="dialog_message.tpl"}
{include file="customer/login_form.tpl"}
</TD>
<TD width="20"></TD>
</TR>
</TABLE> </td>
<td width="10" background="http://www.pariscape.com/images/border_right_bg.gif">[img]http://www.pariscape.com/images/spacer.gif[/img]</td>
</tr>
</table></td>
<td></td>
</tr>
</table>
{ include file="bottom_customer.tpl" }
</BODY>
</HTML>
Then I made a myaccount.php file and copied some code from the home.php file
Code:
<?php
require "./auth.php";
func_display("customer/myaccount.tpl",$smarty);
?>
I made a login_form.tpl to include the login form.
I when I do this I can't get the location to display or the categories, why?
Its this to intense? Can I just make a myaccount.php page, copy the code
from the home.tpl and change some stuff?
[/code]