Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Signup button - Link incorrect

10 years 11 months ago
Licenses:
JomSocial Active

Hello,

I've done a override to frontpage/guest.php in my /templates/mytemplate/html/com_community/layouts/frontpage.

I've changed the position of signup button, now it's next to login button. My issue is signup button ("Unirme" in spanish) has the action of login button.

Could you help me?

I'm working in my dev version new.infinityinner.com

Thanks

10 years 11 months ago
Licenses:

Hi,

the issue that because you moved that button under form, so that button by default will as submit button.
please add this attribute to that button

type="button"
so the code will be like this
<button type="button" class="joms-button--signup"
      onclick="location.href='<?php echo JRoute::_('index.php?option=com_community&view=register', false); ?>'">

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW