Topic-icon SOLVED: Description does not get renderd correctly

Active Subscriptions:

None
When i look at the source code of my site, it shows following, exactly that way?
[meta name="description" content="{SCOpenGra..."/]

Any idea what is happening there?
The topic has been locked.
Support Specialist
13 years 8 months ago #26622 by alzander
Murcel,
The code didn't come through on your post. Could you post it again? You may need to change any < or > characters to [ and ] to prevent our security suite from blocking things. It can get overly agressive depending on what you're trying to post.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 8 months ago #26636 by Murcel

alzander wrote: Murcel,
The code didn't come through on your post. Could you post it again? You may need to change any < or > characters to [ and ] to prevent our security suite from blocking things. It can get overly agressive depending on what you're trying to post.

Thanks,
Alex


Sorry, didn' took a look at the post after posting. Now it should be visible
The topic has been locked.
Active Subscriptions:

None
13 years 8 months ago #26690 by Murcel
Alex,

do you have any idea?
The topic has been locked.
Support Specialist
13 years 8 months ago #26706 by alzander
Murcel,
There's 2 causes this can be happening, and it's something we hadn't seen before. First, if you have the "Automatically generate Open Graph description" setting in JFBConnect set, we'll generate the tag and put it in your article automatically for you. This can go at the top of the article though, and may get pulled in as the meta description. To fix, you can either:
* Set your own meta description for your articles using the Joomla Article manager
* Make the following change to the /plugins/content/jfbccontent.php file. Around lines 170 and 185, you'll see a line similar to the following:
SCArticleContent::addTextToArticle($article, $graphTag, "1"); //0=None, 1=Top, 2=Bottom, 3=Both
Change the "1" to "2" so it looks like:
SCArticleContent::addTextToArticle($article, $graphTag, "2"); //0=None, 1=Top, 2=Bottom, 3=Both
Don't change anything else, the lines at 170 and 185 are slightly different.

This change will be in the next release of JFBConnect as well.

Hope that helps!
Alex
The topic has been locked.