in which .php file to put the facebook pre page

GK User
Wed Dec 04, 2013 4:16 pm
hi
i would like to add this code
<meta property="og:image" content="http://example.com/lamb-full.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="3523">
<meta property="og:image:height" content="2372">

in order to make the site postable on facebook (with a good image instead of some strange image from the carrousel)

normally this is placed in the index.php file of the template, but yours is very minor..... (/templates/gk_game_magazine/index.php

tips would be nice.
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 5:45 pm
Hi.
By default main template file is there: templates/gk_game_magazine/layouts/default.php
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 5:47 pm
p.s.
You can also use one of those solutions - read this short manual : http://www.gavick.com/documentation/joo ... ted-pages/

....so you don't have to edit any file just use a plugin (with your code).
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 11:01 pm
well for this, i would like a core modification... so i placed:
Code: Select all
<meta property="og:title" content="Wijnwarenhuis, specialist in Italiaanse wijnen en streekproducten uit m.n. Apulië (Puglia), de hak van de laars"/>
<meta property="og:image" content="http://www.wijnwarenhuis.be/images/wijnwarenhuis-logo.png"/>
<meta property="og:site_name" content="Wijnwarenhuis"/>
<meta property="og:description" content="Wijnwarenhuis importeert maandelijks wijnen, prosecco's, likeuren, pasta's uit (Zuid)-Italië"/>


in this file:
templates/gk_bikestore/layouts/default.php, right before the closing head tag.

after that tested:
https://developers.facebook.com/tools/d ... renhuis.be

but still the same errors :(
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 11:13 pm
Hmm, hard to say. I shown you right file.
You asked "me" only where to add it, not why FB don't like your code.... sorry but We are not FB support.
Probably you have to use plugin which support this FB feature - check on JED .
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 11:16 pm
After few minutes I have found those free solution, please check : http://extensions.joomla.org/extensions ... raph/20596

and this: http://extensions.joomla.org/extensions ... raph/17810
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 11:19 pm
great info Pawel. I was focussing on Facebook+scraper+joomla... but exactly what i need! thanx man
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 11:23 pm
Sure, we are here to help our customers.
Please inform me which solution was better for you, first or second... or both. :side:
User avatar
Platinum Boarder


cron