The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Two Log-In Widgets on One Page!!

View previous topic View next topic Go down

Two Log-In Widgets on One Page!!

Post by Kynamic on November 22nd 2015, 6:19 pm

I want to have two log-in widgets on my Portal, (One visible for guests and one visible for members in a different spot) but when I try to add both I get the error:
Information wrote: Exclamation A predefined widget can only be present once on a same page.

Is there a workaround for this? Does someone have the code of the login box so I can use that as a personal widget?

Thanks
-Kynamic Exclamation


Kynamic
New Member

Posts : 22
Reputation : 1
Language : English

http://freestyleforums.forumotion.com

Back to top Go down

Re: Two Log-In Widgets on One Page!!

Post by Ace on November 22nd 2015, 6:39 pm

Hi,

First, create a new widget. Use this code. If you want to edit the images that I've put just look for img src"

Code:
<form action="/login" method="post" name="form_login">
       <label for="username">Username:</label><dd><input type="text" tabindex="1" name="username" id="username" size="25" maxlength="40" value="" class="inputbox autowidth" /></dd><dl><dt><label for="password">Password:</label></dt><dd><input type="password" tabindex="2" id="password" name="password" size="25" maxlength="25" class="inputbox autowidth" /> <br /><br /><a href="/profile.forum?mode=sendpassword"><img src="http://icons.iconarchive.com/icons/seanau/flat-app/24/Questionmark-icon.png" /> Forgot your password?</a><br /><a href="/register"><img src="http://icons.iconarchive.com/icons/custom-icon-design/pretty-office-8/24/User-blue-icon.png" />  Register</a><br /><br /> </dd><dd><input type="hidden" name="redirect" value="" /><input type="hidden" name="query" value="" /><input type="submit" name="login" tabindex="6" value="Log in" class="button1" /></dd> </dl>
</form>

Set the permissions of this widget to be shown just for the guests. The native Login widget just for members, mods and admins.

Hope you like it. Smile

Regards.

Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum