Page 1 of 1

Open Graph Plugin changing my og:title description

Posted: 20 Jan 2012, 02:50
by distante
Hello! this is my first post!

First of all I want to thank you for the Phoca Open Graph Plugin, it is excellent (I already give my review in the joomla site).

Second, I want to ask for some help, or maybe report a bug.

I have in my web site a main "welcome article" as frontpage, so far the plugin work ok, but I recently add a "news" category so I add a module with the blog of this category, since then, the Open Graph Plugin is changing the og:title to the title of the article in the blog module instead of my site title.

I search all the options and can't fix this, the only way to return the og:title to the sitename in the frontpage is either disabling the Open Graph Plugin or unpublish the module.

A little help please.

Regards

Re: Open Graph Plugin changing my og:title description

Posted: 20 Jan 2012, 23:01
by distante
Adding to my question, It's possible to add (in the code) and If statement in this way...

Code: Select all

IF "page is the main page"
Then
     og:title = 'VAR Website title"
Else
og:title = 'var article title"


I'm trying to understand where to do this, but I'm kind off new in joomla so I don't quite understand how the code work there.

Re: Open Graph Plugin changing my og:title description

Posted: 27 Jan 2012, 19:37
by Jan
Hi, for this you need to do customization - to know which of your page is main and add php if clauses to the plugin code.

Jan