joomgallery - og:image meta in detail view

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
geocius
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Dec 02, 2009 6:56 pm

joomgallery - og:image meta in detail view

Post by geocius » Thu Aug 09, 2012 12:38 pm

Hi, anybody knows hot to generate te og:image meta in detail view of joomgallery?

file: components/com_joomgallery/views/detail/view.html.php
code:
$doc =& JFactory::getDocument();
$doc->setMetaData( 'og:image', 'detail image url' );

Meta is generated, but how to generate the URL?
If I experiment with php codes, only the code itself is shown, not the URL.

Thanks in advance

Locked

Return to “Extensions for Joomla! 1.5”