Support

  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.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.