og meta tag

Professional Business Joomla template for corporate and business websites suitable for showing stock quotes, up to date news, portfolio management resources or international market data.
GK User
Wed Sep 11, 2013 11:01 am
Hi

How can insert yo <head></head> dynamic meta tag for facebook , i use k2 component and gk finance business template
I suppose configure head.php?

thanks in advance
User avatar
Fresh Boarder

GK User
Wed Sep 11, 2013 4:54 pm
Hi,
yes you can edit this file or use plugin "custom code" which will be used on all pages, for example: Phoca Site Plugin or OpenPotion Head & Body Plugin
User avatar
Platinum Boarder

GK User
Wed Sep 11, 2013 6:18 pm
thanks for answering..i have tried all this plugin... with no luck...as tell me here in forum..maybe confict the code...

i not strong to php..any suggestion to write the code?
Because i try from the internet but no luck again :(
User avatar
Fresh Boarder

GK User
Wed Sep 11, 2013 8:11 pm
Those plugins (both) should not make problems, because they don't use any JavaScripts.

You can always edit and add your code here: gk_finance_business/layouts/default.php

if you're sure what & where it should be added.
User avatar
Platinum Boarder

GK User
Thu Sep 12, 2013 7:42 am
I insert the code below between the <head></head> but nothing it is wrong?

Code: Select all
<meta property="fb:app_id" content="1383579618522400" />
        <meta property="og:site_name" content="kerkyra in"/>
        <meta property="og:url" content="http://kerkyrain.gr/index.php?type=<?php echo $params['type']; ?>&locale=<?php echo $params['locale']; ?>&title=<?php echo $params['title']; ?>&image=<?php echo $params['image']; ?>&description=<?php echo $params['description']; ?>"/>
        <meta property="og:type" content="kerkyra in:<?php echo $params['type']; ?>"/>
        <meta property="og:locale" content="<?php echo $params['locale']; ?>"/>
        <meta property="og:title" content="<?php echo $params['title']; ?>"/>
        <meta property="og:image" content="http://kerkyrain.gr/images/<?php echo $params['image']; ?>.png"/>
        <meta property="og:description" content="<?php echo $params['description']; ?>"/>
User avatar
Fresh Boarder

GK User
Sun Sep 15, 2013 7:45 pm
so if you added code right, it should work. I'm not facebook developer :(
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.