Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Issue in Sign Up button

9 years 4 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Hello,

I am facing an issue in Sign Up button present in the community toolbar. When I click on Sign Up button, it should go to the registration page. It is working well in Google Chrome but when clicked in Mozilla, it directly logs in the user if teh session is stored else returns to the home page.

Can you please check what is the issue on priority as my registrations can be on hold for Mozilla users.

Regards,
Dharti Gohil
This email address is being protected from spambots. You need JavaScript enabled to view it.

9 years 4 months ago
Licenses:

Hi.

Please provide us working administrator credentials.
I can't login to your site.
Please, edit your first post and add credentials to corresponding fields.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 4 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Hello Michal,

You can try to login now.

Regards,
Dharti Gohil

9 years 4 months ago
Licenses:

HI.

Issue is caused by your customization

<button class="btn btn-sm btn-accent"><a style="color: #ffffff;" href="<?php echo CRoute::_( 'index.php?option=com_community&view=register' ); ?>">
				<?php echo JText::_('MOD_COMMUNITY_SIGN_UP') ?>
			</a></button>

This is wrong approach <a> can't be used inside <button>.
You need to use only <a> or only <button>. If you want to have <a> look like button - style it properly.

So fix your customization or remove it.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 4 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Hello Michal,
But it is working well in Google Chrome and not in Mozilla Firefox. Why is this so?

Regards,
Dharti Gohil

9 years 4 months ago
Licenses:

HI.

Because Google chrome ignores wrong code. FireFox doesn't.
That doesn't change the fact that code is invalid... and will cause issues.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 4 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Ok. I tried making a button as a link by doing this:

<a href="<?php echo CRoute::_( 'index.php?option=com_community&view=register' ); ?>">
<button class="btn btn-sm btn-accent"><?php echo JText::_('MOD_COMMUNITY_SIGN_UP') ?></button>
</a>

But still it doesn't work on Mozilla.

Then I tried the onclick event like

<button onclick="location.href=' www.waggster.com/index.php/register '" class="btn btn-sm btn-accent"><?php echo JText::_('MOD_COMMUNITY_SIGN_UP') ?></button>

AND EVEN THIS

<button onclick="location.href='<?php echo CRoute::_( 'index.php?option=com_community&view=register' ); ?>'" class="btn btn-sm btn-accent"><?php echo JText::_('MOD_COMMUNITY_SIGN_UP') ?></button>

But again it didn't work only for Mozilla.

Can you please suggest what should I do to make a button as a link that in will work in all browsers.

Regards,
Dharti Gohil

9 years 4 months ago
Licenses:

Hi, Kailasa.

You can't use <button> inside <a>...
Are you sure that you know what your doing here? :)
It must be <a>, just <a>.
Like now: i.imgur.com/2886MKI.png - it works.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 4 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Hello Michal,
I understood what you mean. But this is why I asked what can I do. I need to use button because in <a> I am not able to do proper styling. I am using an image of 3 buttons where I am positioning background image on hover and click. In this case the bg img is not working as button. The user can see the bg image is sliding from one position to another. This is why I used button. So how can I link this button now. Please suggest. Or if you have better way of styling the <a> tag then please suggest that too.

Regards,
Dharti Gohil
This email address is being protected from spambots. You need JavaScript enabled to view it.

9 years 4 months ago
Licenses:

HI.

Button will NOT work as a link. But you may style <a> to look IDENTICALLY as your button.
It could even use button image as background.
<a> should have display: inline-block, then you may add paddings, background or whatever you like.

But styling or customizing users site is out of scope our technical support.
Please, read our Support Policy: www.jomsocial.com/support - especially remarks at page bottom.

If you can't do styling by yourself - please, consider to hire professional developer.
www.upwork.com/groups/jomsocial


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
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