Page 1 of 1

How to get/print external link variable ?

Posted: 09 Jan 2012, 16:56
by ms.buggy
Hello,

I need to print external link to the image details.
With the $image->title I'm able to get title, $image->description is way to get description.

But I cant figure out how can I read the variable from the external link1.
On the PhocaGallery category view the link is printed with $value->extlink1[0].
I think I need to read that value on the plugin page, perhaps with the "JRoute::_(PhocaGalleryRoute::getImageRout ..." but I'm totally lost here.

Any help appichiated!

Re: How to get/print external link variable ?

Posted: 11 Jan 2012, 02:02
by Jan
Hi, yes external link value is stored with three values (link, target, title) so the array for this needs to be used - the value needs to be allways taken from database value.
This value should be then exploded by php function as it includes three values separated by comma (not sure if it is comma)

Jan