Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Sign up - redirect to another page.

7 years 8 months ago
  • Jonas's Avatar
    Topic Author
  • Jonas
  • Offline
  • Junior Boarder
  • Posts: 153
  • Thank you received: 3
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi,

After some updates I can´t change the redirect on the Sign up button (Skapa Konto) in the top menu.
I also need to change the name and redirect on "Skapa inloggning?"
See photo



Before I went to /modules/mod_community_toolbar/tmpl/default.php

And changed the text <a class="btn btn-sm btn-accent" href="<?php echo CRoute::_( 'index.php?option=com_content&view=register' ); ?>">

to

<a class="btn btn-sm btn-accent" href="<?php echo CRoute::_( 'index.php?option=com_content&view=article&id=15' ); ?>">

Now it only works on my mobil device but not on my desktop device.

Any suggestions?

And when I´m at it.
I would like to change the text on the Sign Up button.

Please point out where I can find that.

Attachments:
7 years 8 months ago
Licenses:

Hi, Jonas.

Thank you for contacting us.
Ah, you customized file in the core instead of creating override.
You should copy that file to ROOT/templates/your-template/html/mod_community_toolbar/ (if you don't have those folders - feel free to create them) and edit it there. When you customized it in the core it was overwritten after upgrade.

Edit file again (after you copy it) and make sure that you customize code in TWO places as toolbar contain view both for mobile and desktop ;)


- 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
7 years 8 months ago
  • Jonas's Avatar
    Topic Author
  • Jonas
  • Offline
  • Junior Boarder
  • Posts: 153
  • Thank you received: 3
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi Michal,

Thanks,

I belive I did that now but I it still don´t work.
If I hover over the Sign up I can see that it´s pointing to domain/jomsocial/article&id=15 but it lands wrong.

If you have the time I be glad if you can answer my other question there to.

Best Regards
Jonas

7 years 8 months ago
Licenses:

Hi, Jonas.

First of all this is a wrong Joomla! URL:
index.php?option=com_community&view=article&id=15
It doesn't exist. It should be:
index.php?option=com_content&view=article&id=15
I fixed it.

If you wan to change text on button - simply use Joomla! language override feature:
documentation.jomsocial.com/wiki/Changin...gle_Sentence_or_Word
Use this constant: MOD_COMMUNITY_SIGN_UP.

Now all should be fine :)


- 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
The following user(s) said Thank You: Jonas
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