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

simple text links for login and register

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-23-2007, 02:11 AM
 
rashriaz rashriaz is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 72
 

Default simple text links for login and register

hi

im trying to have just simple text links to login and register. i want to remove the images from there (like the recover password link).

please view the attach pic for details

anyone know how to reomove the pictures frm there
Attached Thumbnails
Click image for larger version

Name:	screen2.jpg
Views:	80
Size:	59.8 KB
ID:	592  
__________________
rashriaz
product -x-cart gold 4.1.9
operating system -windows
location - uk
Reply With Quote
  #2  
Old 10-23-2007, 03:15 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default Re: simple text links for login and register

Hi, here's how I managed to remove the pictures:

You have to comment out the "include" code in these two templates:

buttons/login_menu.tpl and buttons/create_profile_menu.tpl

Maybe there are other more official ways of doing this but I am not a coder
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
  #3  
Old 10-23-2007, 04:00 AM
 
rashriaz rashriaz is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 72
 

Default Re: simple text links for login and register

could you please paste your code for these two files
__________________
rashriaz
product -x-cart gold 4.1.9
operating system -windows
location - uk
Reply With Quote
  #4  
Old 10-23-2007, 04:11 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default Re: simple text links for login and register

for create_profile_menu.tpl it's:

{*include file="buttons/button.tpl" button_title=$lng.lbl_register href="register.php" image_menu=true*}

and for the login_menu it's:

{*include file="buttons/button.tpl" button_title=$lng.lbl_log_in href="javascript: document.authform.submit();" js_to_href="Y" image_menu=true type="input"*}

if you want to undo the action just remove both * at the beginning and end of the code. My code might be slighty different from yours since I am using 4.1.8 but the principle of commenting out is the same...
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
  #5  
Old 10-23-2007, 04:33 AM
 
rashriaz rashriaz is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 72
 

Default Re: simple text links for login and register

this removes the link altogher, i still want a plain text link saying login and register.
__________________
rashriaz
product -x-cart gold 4.1.9
operating system -windows
location - uk
Reply With Quote
  #6  
Old 10-23-2007, 05:27 AM
 
rashriaz rashriaz is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 72
 

Default Re: simple text links for login and register

Ive got it working, all I did was upload a transparent 1px x 1px gif to replace the existing image and now works fine.
Attached Thumbnails
Click image for larger version

Name:	screen3.jpg
Views:	72
Size:	51.5 KB
ID:	594  
__________________
rashriaz
product -x-cart gold 4.1.9
operating system -windows
location - uk
Reply With Quote
  #7  
Old 10-23-2007, 07:29 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default Re: simple text links for login and register

Sometimes the solution to these thingd turns out to be easy..
I am considering to remove the whole box on my redesigned site since people only need it when they are placing an order.
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
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 05:10 AM.

   

 
X-Cart forums © 2001-2020