![]() |
home questions
on the home page for my site, there are bunch of menus on the left and the right. what i would like to do is remove all of the menus except the "Authentication" menu and move that to the middle of the page.
my goal is to have that log in page as the main page where a customer has to log-in in order to proceed to the next pages. i know there is no easy way to do this, but any help would be greatly appreciated!! thanks in advanced!! -D ps: using X-Cart Gold Version 4.1.11 |
Re: home questions
Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:
http://forum.x-cart.com/showthread.php?t=23970 Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly. Thanks! :) |
Re: home questions
done and done!
|
Re: home questions
edit the templates under customer, add {if $login ne ""} at the beginning and {/if} at the end of the template files used for the main page.
Edit the central section of home.tpl to add the login box in the middle {if $login eq ""} {include file="auth.tpl"} {/if} Then remove the login box from the right of the screen. Get rid of the {if $login eq ""} {include file="auth.tpl" {else} and leave this, (replacing the else statement) {if $login ne ""} {include file="authbox.tpl"} {/if} |
Re: home questions
massive respect to my head programmer for not only solving the mystery but posting the solution. BOH BOH BOH!!!!!
:mrgreen: |
Re: home questions
Sorry, didn't get a chance to get back to this one yesterday. Glad you figured it out!
|
All times are GMT -8. The time now is 01:59 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.