Login with facebook doens't works

Advanced newspaper or magazine Joomla template to build news website with unique and detailed design.
GK User
Tue May 08, 2012 12:27 am
Everything is setted.
But facebook button login is unresponsible
May you help me?

Thanks
User avatar
Fresh Boarder

teitbite
Mon May 14, 2012 7:05 pm
Hi

Please show me Your page and send me an access to joomla panel.
User avatar
Moderator

GK User
Mon Jun 04, 2012 9:59 am
i need help on this one as well.

Thanks
User avatar
Junior Boarder

teitbite
Tue Jun 05, 2012 7:13 am
Hi

Please check if facebook key and secret is filled in template settings and facebook authentication plugin. If everything is ok with this please show me Your site and send an access to joomla panel.
User avatar
Moderator

teitbite
Tue Jun 05, 2012 12:06 pm
Hi

Facebook login is working in template. Problem is on a Facebook side. Please check if access is set propperly. It may be neccessary to create a different access, 'cause this one may be taken already by a different application.

The only "Economy" link I can see is in the menu. Can You please tell me where should I look for that ?

To move social buttons under the title You need to edit /html/com_content/article/default.php , find code for social and copy it under the title. I can do it for You but will require ftp access.
User avatar
Moderator

GK User
Tue Jun 05, 2012 2:46 pm
thanks so much

i will get a new access then. i will get back to you on that one...

if you click on the "economy" in the menu........the page that opens has adverts at the foot of the page.
but its suppose to be on the right_top/right_bottom like the other pages...


this is the social code i believe.........

Code: Select all
   <gavern:social><div id="gkSocialAPI"></gavern:social>
          <gavern:social><fb:like href="<?php echo $cur_url; ?>" GK_FB_LIKE_SETTINGS></fb:like></gavern:social>
        <gavern:social><g:plusone GK_GOOGLE_PLUS_SETTINGS callback="<?php echo $cur_url; ?>"></g:plusone></gavern:social>
          <gavern:social><a href="http://twitter.com/share" class="twitter-share-button" data-text="<?php echo $this->item->title; ?>" data-url="<?php $cur_url; ?>" GK_TWEET_BTN_SETTINGS>Tweet</a></gavern:social>
          <gavern:social><a class="DiggThisButton GK_DIGG_SETTINGS" href="<?php echo $cur_url; ?>"></a></gavern:social>
          <gavern:social><a href="http://www.delicious.com/save" onclick="window.open('http://www.delicious.com/save?v=5&noui&amp;jump=close&amp;url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;" class="deliciousBtn" title="<?php echo JText::_('TPL_GK_LANG_DELICIOUS_TITLE'); ?>"></a></gavern:social>
          <gavern:social><a href="http://www.instapaper.com/hello2?url=<?php echo urlencode($cur_url); ?>&amp;title=<?php echo urlencode($this->item->title); ?>" class="instapaperBtn" title="<?php echo JText::_('TPL_GK_LANG_INSTAPAPER_TITLE'); ?>"></a></gavern:social>
          <gavern:social><a href="http://pinterest.com/pin/create/button/?url=<?php echo $cur_url; ?>&amp;media=<?php echo $pin_image; ?>&amp;description=<?php echo $this->item->title; ?>" class="pin-it-button" count-layout="GK_PINTEREST_SETTINGS"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="<?php echo JText::_('TPL_GK_LANG_PINIT_TITLE'); ?>" /></a></gavern:social>
     <gavern:social><div class="clr"></div></div></gavern:social>


but i cant find the title code
can you please explain more as i want to learn from this experience for the future cuz you might not be there always
User avatar
Junior Boarder

teitbite
Tue Jun 05, 2012 2:59 pm
Hi

This is a part of the code responsible for showing title:

Code: Select all
      <?php if ($params->get('show_title')) : ?>
      <h1>
         <?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
            <a href="<?php echo $this->item->readmore_link; ?>">
               <?php echo $this->escape($this->item->title); ?>
            </a>
         <?php else : ?>
            <?php echo $this->escape($this->item->title); ?>
         <?php endif; ?>
      </h1>
      <?php endif; ?>


Basicly every element got it's own code to present it in this template files. You can change order, add or remove things. There is not much to explain :)


Economy is a validation error. Which means that one of articles on this page has not propper HTML code. Most likely one or more of the HTML tag is lasking of it's closing element. Example: <div></div>
User avatar
Moderator

GK User
Tue Jun 05, 2012 5:54 pm
Thanks man

i figure they in stack order but i

Still got the same thing(no social icons on top) after doing it like this:

Code: Select all
<?php if ($params->get('show_title')|| $params->get('access-edit')) : ?>
      <h2>
            <?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
            <a href="<?php echo $this->item->readmore_link; ?>">
                  <?php echo $this->escape($this->item->title); ?></a>
            <?php else : ?>
                  <?php echo $this->escape($this->item->title); ?>
            <?php endif; ?>
      </h2>
<?php endif; ?>

<gavern:social><div id="gkSocialAPI"></gavern:social>
          <gavern:social><fb:like href="<?php echo $cur_url; ?>" GK_FB_LIKE_SETTINGS></fb:like></gavern:social>
        <gavern:social><g:plusone GK_GOOGLE_PLUS_SETTINGS callback="<?php echo $cur_url; ?>"></g:plusone></gavern:social>
          <gavern:social><a href="http://twitter.com/share" class="twitter-share-button" data-text="<?php echo $this->item->title; ?>" data-url="<?php $cur_url; ?>" GK_TWEET_BTN_SETTINGS>Tweet</a></gavern:social>
          <gavern:social><a class="DiggThisButton GK_DIGG_SETTINGS" href="<?php echo $cur_url; ?>"></a></gavern:social>
          <gavern:social><a href="http://www.delicious.com/save" onclick="window.open('http://www.delicious.com/save?v=5&noui&amp;jump=close&amp;url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;" class="deliciousBtn" title="<?php echo JText::_('TPL_GK_LANG_DELICIOUS_TITLE'); ?>"></a></gavern:social>
          <gavern:social><a href="http://www.instapaper.com/hello2?url=<?php echo urlencode($cur_url); ?>&amp;title=<?php echo urlencode($this->item->title); ?>" class="instapaperBtn" title="<?php echo JText::_('TPL_GK_LANG_INSTAPAPER_TITLE'); ?>"></a></gavern:social>
          <gavern:social><a href="http://pinterest.com/pin/create/button/?url=<?php echo $cur_url; ?>&amp;media=<?php echo $pin_image; ?>&amp;description=<?php echo $this->item->title; ?>" class="pin-it-button" count-layout="GK_PINTEREST_SETTINGS"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="<?php echo JText::_('TPL_GK_LANG_PINIT_TITLE'); ?>" /></a></gavern:social>
     <gavern:social><div class="clr"></div></div></gavern:social>


thanks
User avatar
Junior Boarder

teitbite
Thu Jun 07, 2012 9:49 am
Hi

Most probably a different file is responsible for it. Please just send me correct FTP access and I'll find what's going on.
User avatar
Moderator

teitbite
Thu Jun 07, 2012 12:37 pm
Hi

Exacly as I thought. I've gave You a solution for regular joomla article and You are using K2 articles, so the order should be made to /html/com_k2/templates/default/item.php. I've moved it already.
User avatar
Moderator

GK User
Thu Jun 07, 2012 12:53 pm
YIPEEEE!!!!!!!!

Teitbite You the Man!!!!


:D

checked it. its perfect
Thanks so much man
User avatar
Junior Boarder

teitbite
Thu Jun 07, 2012 3:07 pm
Hi

No problem. Glad I could help :)
User avatar
Moderator


cron