By Vincenzo on Monday, 23 January 2017
Posted in Technical Issues
Replies 5
Likes 0
Views 326
Votes 0
Hi!

I have EasySocial installed on a site in wich there is other pages. I don't want the template is loaded automatically in every page of the website from mobile view, how can I do?
Hello Vincenzo,

There is currently no way to configure this because we do not want your site to have bad user experience. For instance, if there is a stream item generated for an article, clicking on it will render a different template altogether. It could be very confusing for your users.

Having said that, I have added a block of code for you in the file /plugins/system/easysocialmobile/easysocialmobile.php at line 78 so that it will only activate when users access EasySocial,

[gist]
$option = $this->input->get('option');

if ($option != 'com_easysocial') {
return;
}
[/gist]
·
Monday, 23 January 2017 22:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Excellent!

The issue is that we want to keep differentiated the "website" and the "social site".

Very very thanks
I'll give you feedback on this.
·
Monday, 23 January 2017 22:43
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Vincenzo, perhaps we could add a settings for this in the plugin in the future.
·
Monday, 23 January 2017 22:45
·
0 Likes
·
0 Votes
·
0 Comments
·
I've tryed and goes pretty good. It was exaclty what we want!
·
Monday, 23 January 2017 22:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Great, thanks for updating and glad that your issues are resolved now. I will add this as a feature request in the upcoming release of the plugin to make it configurable.
·
Monday, 23 January 2017 22:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post