Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Customising Login and Main Page

Customising Login and Main Page

Locked

Views: 836

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 Nov 2009, 11:25 PM
#1
javier avatar

javier

New Zenner

Join Date:
Jun 2007
Posts:
79
Plugin Contributions:
0

Customising Login and Main Page

Hi,

Is there anyway of closing a site to all but the main page for non-registered users? I have looked at the admin panel and found settings to enable login as a necessity before browing, However when going to a site, it displays the login over tha main page. What I would like to do is have access to the main page where I could place a message and some links and require login/registration to access the rest of the site, perhaps via a button to open the login panel.

In addition, is there a way of customising the login panel itself (not just select which fields show) ?

Thanks for any pointers, I have looked but couldn't find anything relevant.

14 Nov 2009, 11:27 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Customising Login and Main Page

Not from Admin, no. You could create a page with the info you wanted the visitor to see, with a link to your cart's index.php page and name it index.html and place it in the root of your cart. Most servers load index.html before index.php.

I'd be interested to know why you'd want to place this stumbling block in front of potential customers. It may be you have some special circumstances, but as someone who buys a lot of stuff online, I would never create an account just to see the store.

All pages in Zencart can be customized by editing their PHP files and template files. We'd need to know a little more about what you have in mind to advise about the Login page.

14 Nov 2009, 9:31 PM
#3
javier avatar

javier

New Zenner

Join Date:
Jun 2007
Posts:
79
Plugin Contributions:
0

Re: Customising Login and Main Page

Many thanks for this stevesh, it fits the bill for me I think. The reason for setting it up this way is that the site is not intended to accept orders from the general public but from a specialist group.

Best regards,

Javier