Hello,
I'm trying to implement Facebook comments with the latest Gallery module but am having trouble grabbing the full sub gallery url to use for the data-href tag so that comments are tagged to each individual sub gallery.
For the news module I was able to use the canonical url but it doesn't work with Gallery, nor does {$content_obj->GetURL()} They both return the gallery index url.
Any suggestions?
Thanks.
Get URL from Gallery
Re: Get URL from Gallery
use {get_template_vars} in your template and look if there's an appropriate variable for you.
Re: Get URL from Gallery
Just gave that a try but I only see a parent url. No current page url unfortunately.
velden wrote:use {get_template_vars} in your template and look if there's an appropriate variable for you.