![]() |
Login button in de side menu.
I have buttons for nearly all the text_buttons on my site and would also like to do this for the login button but i just cannont get it to work.
I have the following code for my buttons/login_menu.tpl Code:
my code for /buttons/create_profile_menu.tpl Code:
and this one works can anyone help me with te login button. Thanks WP |
Change this in your login_menu.tpl
Code:
{if $style eq "button"}{include file="buttons/button.tpl" button_title=$lng.lbl_log_in href=$href}{else}<FONT class="{if $usertype eq "C"}FormButton{else}VertMenuItems{/if}">{$lng.lbl_log_in}</FONT><INPUT type="image" { include file="buttons/go_image_menu.tpl" }>{/if} Code:
{if $style eq "button"}{*{include file="buttons/button.tpl" button_title=$lng.lbl_log_in href=$href}*}[img]pathtoimage.gif[/img]{else}{*<FONT class="{if $usertype eq "C"}FormButton{else}VertMenuItems{/if}">{$lng.lbl_log_in}</FONT><INPUT type="image" { include file="buttons/go_image_menu.tpl" }>*}[img]pathtoimage.gif[/img]{/if} Cheers mate |
instinctual does not solve the problem
Insinctual,
this does not slove my problem. I have buttons made up of three parts like every button. I don't have one loging button. When using your code I dont log in. I just go to the home page. Here is my auth.tpl arround the login button Code:
Thanks for your help in advance. WP |
All times are GMT -8. The time now is 08:11 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.