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!
How to get/print external link variable ?
-
- Phoca Newbie
- Posts: 2
- Joined: 09 Jan 2012, 16:49
- Jan
- Phoca Hero
- Posts: 48676
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to get/print external link variable ?
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
This value should be then exploded by php function as it includes three values separated by comma (not sure if it is comma)
Jan
If you find Phoca extensions useful, please support the project