Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

How to change the /profile url in JomSocial Links?
(1 viewing) (1) Guest
Support forum for customers who have purchased this product with priority support pack. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: How to change the /profile url in JomSocial Links?

How to change the /profile url in JomSocial Links? 10 years, 6 months ago #44653

Hi,

I would like to change the domain.com/profile/username link to domain.com/artist/username. How can this be done?
The topic has been locked.

Re: How to change the /profile url in JomSocial Links? 10 years, 6 months ago #44659

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

There's currently no option to achieve this, you would need to modify the JomSocial extension's source code.
If you're interested, edit the /components/com_sef/sef_ext/com_community.php file and find the following lines around line number 433:
if (empty($userid) || (isset($userid) && $this->params->get('profile_inc', '0') != '0')) {
$title[] = JText::_('COM_COMMUNITY_PROFILE');
}


You need to change the 'COM_COMMUNITY_PROFILE' text to 'artist'.

We'll consider adding an option to the extension's parameters for this in some future version. Or if you would be interested, we could do this for you as a paid support service.
ARTIO Support Team
The topic has been locked.

Re: How to change the /profile url in JomSocial Links? 10 years, 6 months ago #44662

Hi and thank you for the suggestion. I have edited the code, but the permalinks does not change to /artist/ - actually, nothing changes!

 
case 'profile':
if (empty($userid) || (isset($userid) && $this->params->get('profile_inc', '0') != '0')) {
$title[] = JText::_('artist');
}
 
The topic has been locked.

Re: How to change the /profile url in JomSocial Links? 10 years, 6 months ago #44664

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

You need to delete or update existing SEF URLs and clear the caches for the changes to take effect.
ARTIO Support Team
The topic has been locked.

Re: How to change the /profile url in JomSocial Links? 10 years, 6 months ago #44665

* Joomla Cache has been cleared
* Browser cache has been cleared
* Old urls has been cleared

Not working on my side unfortunately.
The topic has been locked.

Re: How to change the /profile url in JomSocial Links? 10 years, 6 months ago #44684

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

What are your settings for JomSocial extension in JoomSEF? Please post screenshots. Thank you.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
  • 2
Přihlášení uživatele Prázdný