Author Topic: problem sharing  (Read 343 times)

Offline tanji12

  • Sr. Member
  • ****
  • Posts: 15
  • Karma: +0/-0
problem sharing
« on: October 21, 2014, 01:56:10 AM »
hello
I have a problem, when I share a link on facebook always brings me to the home page

Offline alexa

  • Administrator
  • Hero Member
  • *****
  • Posts: 493
  • Karma: +7/-1
Re: problem sharing
« Reply #1 on: October 21, 2014, 02:15:40 AM »
Everything seems ok to me

Offline tanji12

  • Sr. Member
  • ****
  • Posts: 15
  • Karma: +0/-0
Re: problem sharing
« Reply #2 on: October 21, 2014, 02:28:06 AM »
maybe I explained evil
when I share it on facebook or google + an article, no I do not automatically from the title of the article
http://gyazo.com/7d187e2b2c31623e8f2cdb273d2e1993

Offline alexa

  • Administrator
  • Hero Member
  • *****
  • Posts: 493
  • Karma: +7/-1
Re: problem sharing
« Reply #3 on: October 21, 2014, 02:52:44 AM »
in themes/default/article.php:

replace this code:

Code: [Select]
<title>{$sitetitle}</title>

replace with this code:

Code: [Select]
<title>{section name="article" loop=$article}{$article[article].btexty}{/section} - {$sitetitle}</title>

Offline tanji12

  • Sr. Member
  • ****
  • Posts: 15
  • Karma: +0/-0
Re: problem sharing
« Reply #4 on: October 21, 2014, 03:33:09 AM »
now it works, thanks
 ;)