1. clemens-piena
  2. General
  3. Friday, January 26 2018, 08:51 AM
When using the userlist for visiting a user (as guest/public) a url is construct which can be used with social share buttons. (eg http://www.ostorol.nl/index.php/profiel/test4?back=1)

The social share module is only visible on the profile menu from easy profile which is mandatory..

However, when a user logs in, his own profile URL looks like http://www.ostorol.nl/index.php/profiel
With social share buttons, this wil not lead external visitors to his public profile.

How can i fix this ?
admin Accepted Answer
Admin
Hi,
sorry for late reply, we were trying to find some good workaround for this without success.

Which plugin do you to add sharing buttons?
  1. more than a month ago
  2. General
  3. # 1
clemens-piena Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
you can use template override to fix the url via code, follow these steps:
- Copy file from /modules/mod_coalawebsociallinks/tmpl/default.php to /template/your-template-folder/mod_coalawebsociallinks/default.php (this is Joomla template override feature)
- open new file
- at line 26 paste this code:
$input = JFactory::getApplication()->input;
if($input->get('option')=='com_jsn' && $input->get('view','profile')=='profile' && !$input->get('id',false)){
$link = JURI::base().JRoute::_('index.php?option=com_jsn&view=profile&id='.JFactory::getUser()->id.'&Itemid='.$input->get('Itemid',''));
}
  1. more than a month ago
  2. General
  3. # 3
clemens-piena Accepted Answer
Pro
mmm, doesn't seem to work..
/template/your-template-folder/mod_coalawebsociallinks/default.php is
/templates/your-template-folder/mod_coalawebsociallinks/default.php i supose?
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,
sorry for late reply i'ts a weekend for us.

My error: the correct folder is /templates/your-template-folder/html/mod_coalawebsociallinks/default.php (missing HTML folder ans "s" to templates folder)
  1. more than a month ago
  2. General
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.