You'll want to include your categories, etc., in your php file too. And set the location:
Code:
<?php
require "./auth.php";
require $xcart_dir."/include/categories.php";
if ($active_modules["Manufacturers"])
include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php";
if($active_modules["Bestsellers"])
include $xcart_dir."/modules/Bestsellers/bestsellers.php";
$location[] = array(func_get_langvar_by_name("lbl_your_language_variable", ""));
#
# Assign Smarty variables and show template
#
$smarty->assign("main","newpage");
# Assign the current location line
$smarty->assign("location", $location);
func_display("customer/home.tpl",$smarty);
?>