Social api on One-page layout

GK User
Tue Apr 26, 2016 3:54 pm
Hi,

I have social api enabled in steakhouse (joomla 3.5.1) settings.
When selecting "One-page layout" in menù options, no social button shows up.
When selecting "Single article" in menù options, all social button show up, but facebook buttons don't.

Two questions.

How to fix the problem with "One-page layout"? I have all articles with this type of layout and would like to keep using it, but need also the social buttons.

What is the problem with the facebook buttons?

The website is offline, since it's not ready yet. Please ask me if you need access and I'll send a private messagge.

Thanks for helping!
User avatar
Junior Boarder

teitbite
Sun May 01, 2016 12:47 pm
Hi

Please send me an access to site and urls to the examples of those problems.
User avatar
Moderator

GK User
Thu May 19, 2016 4:00 pm
Hi,

any news about this topic? I have sent you two private messages. No answer until now.

Thank you
User avatar
Junior Boarder

GK User
Fri May 20, 2016 12:05 am
Since I need to finish this website as soon as possible, I had to find a different solution. It would be helpful to get an answer for future sites.

Thx
User avatar
Junior Boarder

teitbite
Sat May 21, 2016 5:28 pm
Hi

I can see one message fro You:

Hi,
Did you get the access and url?
Thanks,
Jochen


I must have marked it as read by accident, sorry. Please send this access one more time. Use my mail address just in case some special chars made message to not deliver.
User avatar
Moderator

GK User
Sat May 28, 2016 12:33 am
The website is public now:

http://www.birreriacontehop.it
User avatar
Junior Boarder

teitbite
Mon May 30, 2016 9:47 am
Hi

Social buttons administrable via template panel are only used in artile layout. As it goes for "One page layout" article layout is being block (same as any other component in this place). If You wish to have component unblock You will have to edit file /layout/default.php and replace code:

Code: Select all
                     <section id="gkMainbody">
                        <div<?php if(isset($this->module_ids['mainbody'])) echo ' id="'.$this->module_ids['mainbody'].'"'; ?>>
                        <?php if(($this->layout->isFrontpage() && !$this->API->modules('mainbody')) || !$this->layout->isFrontpage()) : ?>
                           <jdoc:include type="component" />
                        <?php else : ?>
                           <jdoc:include type="modules" name="mainbody" style="gk_style" />
                        <?php endif; ?>
                        </div>
                     </section>


with

Code: Select all
                     <section id="gkMainbody">
                        <div<?php if(isset($this->module_ids['mainbody'])) echo ' id="'.$this->module_ids['mainbody'].'"'; ?>>
                           <jdoc:include type="component" />
                        </div>
                     </section>


Unfortunately I cannot check Facebook button issue since it was replaced already.
User avatar
Moderator


cron