You can if you copy the home.tpl file and rename it something else eg, photo_gallery.tpl get rid of the line home_main.tpl, where that was you can put you php code etc.
The in the actual customer php which call the tpl files copy home.php rename it photo_gallery.php and replace the line
$smarty->display("customer/home.tpl");
with
$smarty->display("customer/photo_gallery.tpl");
this should allow you to have your photo gallery page but with the x-cart features as well.
hope that helps. sorry if it seems rather rushed.
jez
__________________
X-Cart 4.0.17
|