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

My Account

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-13-2005, 11:55 PM
 
GTXPC GTXPC is offline
 

Member
  
Join Date: Feb 2005
Location: USA Ca
Posts: 15
 

Default My Account

Hi I create this because I look all over and none of the mod that I found are 100% working, so I create this this work like this.

1) Create a static page = Embedded, Name the Page My Account

2) paste this code to the page that you just created, then just make a link to that page thats it.

Code:
<TABLE border="0"> {if $config.General.use_https_login eq "Y" and $usertype eq "C"} {assign var="form_url" value=$https_location} {else} {assign var="form_url" value=$current_location} {/if} <FORM action="{$form_url}/include/login.php" method="post" name=errorform> <TR> <TD height="10" width="78" class="FormButton">{$lng.lbl_login}</TD> <TD width="10" height="10"><FONT class="Star">*</FONT></TD> <TD width="282" height="10"> <INPUT type="text" name="username" size="30"> </TD> </TR> <TR> <TD height="10" width="78" class="FormButton">{$lng.lbl_password}</TD> <TD width="10" height="10"><FONT class="Star">*</FONT></TD> <TD width="282" height="10"> <INPUT type="password" name="password" size="30"> {if $active_modules.Simple_Mode ne "" and $usertype ne "C" and $usertype ne "B"} <INPUT type="hidden" name="usertype" value="P"> {else} <INPUT type="hidden" name="usertype" value="{$usertype}"> {/if} <INPUT type="hidden" name="redirect" value="{$redirect}"> <INPUT type="hidden" name="mode" value="login"> </TD> </TR> <TR> <TD height="10" width="78" class="FormButton"></TD> <TD width="10" height="10"></TD> <TD width="282" height="10" class="ErrorMessage"> { if $main eq "login_incorrect"} {$lng.err_invalid_login} {/if} </TD> </TR> <TR> <TD height="10" width="78" class="FormButton"></TD> <TD width="10" height="10" class="FormButton"></TD> <TD width="282" height="10"> {if $js_enabled} {include file="buttons/submit.tpl" href="javascript:document.errorform.submit()" js_to_href="Y"} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_submit} {/if} </TD> </TR> </FORM> </TABLE>
__________________
4.0.16
Reply With Quote
  #2  
Old 05-14-2005, 04:30 AM
 
Online Michael Online Michael is offline
 

eXpert
  
Join Date: Mar 2005
Location: Melbourne, Australia
Posts: 273
 

Default

Sorry GTXPC, but does this 'mod' do exactly?
__________________
X-Cart 5.3.5.4
Reply With Quote
  #3  
Old 05-14-2005, 05:44 AM
 
pengrus pengrus is offline
 

eXpert
  
Join Date: Feb 2004
Posts: 359
 

Default

Just what I am looking for. Do you have a demo site? I registered at your site on signature, but the login on My Account page did not work....

Thanks!
__________________
x-cart 4.1.8 Gold
Linux
Reply With Quote
  #4  
Old 01-09-2006, 07:28 AM
 
perryl7 perryl7 is offline
 

Member
  
Join Date: Dec 2005
Posts: 24
 

Default

The mod is what I am looking for and I created the static page but when I try and display it the smarty templates are not displaying correctly. The actual code is showing. Why is this? Here is a link to the page:

https://store.naaleads.com/pages.php?pageid=1

Thanks.
__________________
perryl7 - X-Cart Gold 4.0.17
Reply With Quote
  #5  
Old 01-09-2006, 07:31 AM
 
balinor balinor is offline
 

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

Default

Might want to try this mod instead, it is a bit more involved but also a bit more flexible:

http://forum.x-cart.com/viewtopic.php?t=14069
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 01-09-2006, 10:25 AM
 
perryl7 perryl7 is offline
 

Member
  
Join Date: Dec 2005
Posts: 24
 

Default

Thanks again balinor. That worked
__________________
perryl7 - X-Cart Gold 4.0.17
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:37 PM.

   

 
X-Cart forums © 2001-2020