Topic-icon Custom Login Button Image for Easy Tag

Active Subscriptions:

None
13 years 7 months ago #27266 by anastasiosp
Hello!
I made an article where i put the tag {JFBCLogin} and the login button shows correctly.
What I want now is to change this button and to put my custom image. I read the documentation and found that i have to insert this code .
but not sure where to insert this code - in the article or in some file?
Also, in case that i insert this code in a file, I suppose that every login button will have this image?
Thank you very much!!!
The topic has been locked.
Support Specialist
13 years 7 months ago #27273 by alzander
The code didn't come through (our filters sometimes strip the code). You can use the code below anywhere, in an article, module, etc to use the custom image tag. However, depending on your Joomla settings, HTML/Javascript code can be stripped when try to save the article.
<a href="javascript:void(0)" onclick="jfbc.login.login_custom();"><img src="http://yoursite.com/link-to-image.jpg" /></a>

One other thing you can do is use the Content - Load Modules plugin that comes with Joomla. Simply create an SCLogin module with the options you want (including the custom image link), set it to a position of "custom_sclogin". Then, in your Joomla article, use {loadmodule custom_sclogin}. That will load the entire SCLogin module and give you even more flexibility over the options.

Hope that helps, but if not, just let us know!

Thanks,
Alex
The topic has been locked.