Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

home questions

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-12-2008, 07:47 AM
 
D_Lock D_Lock is offline
 

Advanced Member
  
Join Date: Nov 2008
Location: Waterford, CT
Posts: 32
 

Default 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
__________________
License products:
X-Cart DB Version: 4.1.11 GOLD
ezRecommends and ezUpsell plug-ins installed

DEATH TO INTERNET EXPLORER!!!!!
This whole PCI-DSS thing is BS!!!!!
Reply With Quote
  #2  
Old 11-12-2008, 07:55 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-12-2008, 10:08 AM
 
D_Lock D_Lock is offline
 

Advanced Member
  
Join Date: Nov 2008
Location: Waterford, CT
Posts: 32
 

Default Re: home questions

done and done!
__________________
License products:
X-Cart DB Version: 4.1.11 GOLD
ezRecommends and ezUpsell plug-ins installed

DEATH TO INTERNET EXPLORER!!!!!
This whole PCI-DSS thing is BS!!!!!
Reply With Quote
  #4  
Old 11-13-2008, 06:41 AM
 
adimex adimex is offline
 

Newbie
  
Join Date: Nov 2008
Location: East Lyme, CT, USA
Posts: 1
 

Default 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}
__________________
X-Cart version 4.1.11

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g
Reply With Quote
  #5  
Old 11-13-2008, 06:45 AM
 
D_Lock D_Lock is offline
 

Advanced Member
  
Join Date: Nov 2008
Location: Waterford, CT
Posts: 32
 

Default Re: home questions

massive respect to my head programmer for not only solving the mystery but posting the solution. BOH BOH BOH!!!!!


__________________
License products:
X-Cart DB Version: 4.1.11 GOLD
ezRecommends and ezUpsell plug-ins installed

DEATH TO INTERNET EXPLORER!!!!!
This whole PCI-DSS thing is BS!!!!!
Reply With Quote
  #6  
Old 11-13-2008, 07:38 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: home questions

Sorry, didn't get a chance to get back to this one yesterday. Glad you figured it out!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:13 PM.

   

 
X-Cart forums © 2001-2020