Topic-icon K2 Frontend Editor

Active Subscriptions:

None
9 years 6 months ago #47748 by jarlew
K2 Frontend Editor was created by jarlew
Hi, I'm using a paid version JFBConnect and I'm having problems with social bar and K2 front end editor. When social bar is is enabled the bar appears in the popup frame of the frontend editor and breaks a tabbed layout of it. All tabs are displayed at once. Is the a way to solve that?
The topic has been locked.
Support Specialist
9 years 6 months ago #47821 by mel
Replied by mel on topic K2 Frontend Editor
Sorry about the delayed response to this. It looks like our social toolbar could be a little more discriminating about where it shows. Please make the following edit to our files which will fix the issue.

Edit the /components/com_jfbconnect/libraries/toolbar.php file. Around line 19, you'll see:
$this->enabled = !JFactory::getUser()->guest && JFBCFactory::config()->get('social_toolbar_enable') &&
                JFactory::getUser()->authorise('jfbconnect.channels.post', 'com_jfbconnect');
Update that so it looks like:
$this->enabled = !JFactory::getUser()->guest && JFBCFactory::config()->get('social_toolbar_enable') &&
                JFactory::getUser()->authorise('jfbconnect.channels.post', 'com_jfbconnect') &&
                JFactory::getApplication()->input->get('tmpl') != "component";
Please note the remove of the ; and addition of && at the end of the 2nd line and, of course, the whole new 3rd line.

We plan to put this in the next release, but would love to hear your feedback on if it fixes things first as well.

Thanks!
-Melissa
The topic has been locked.