Thread: Login Link
View Single Post
  #14  
Old 02-25-2004, 03:19 PM
 
oziris oziris is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 94
 

Default

I tried this but placing changes in common_templates.tpl file disables webmaster mode functionality. ANy ideas?

I tried different approach and created login.php with this in it:

<?php
require "./auth.php";

require $xcart_dir."/include/categories.php";

$smarty->assign("main", "mainlogin");
$smarty->display("main/login.tpl");

?>

I copied login_incorrect code and created tpl file called login.tpl.

Now I get what I want: http://216.93.188.234/shopping/customer/login.php

But how do I get that to display within the regular page with header, footer etc...?

Thanks,
Predrag
__________________
X-Cart version 4.0.12 Gold
PHP 4.3.8
MySQL 3.23.58
Reply With Quote