Hi there everybody,
Phoca Gallery V2.71:
I display an Image category on my website, so far so good.
by adding an image I can add an external link, which is displayed as small icon or as text under the thumb.
My goal is to go directly to this external link by clicking on the thumbnail. No Popup and no detailed view.
Any ideas how to solve this?
Thanks in advance
ridors
Disable detailed view, use link
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Disable detailed view, use link
Hi, then you need to customize it in the code and change the link to detail window - add the external link code there
components/com_phocagallery/views/category/tmpl/default.php
Jan
components/com_phocagallery/views/category/tmpl/default.php
Jan
If you find Phoca extensions useful, please support the project
-
ridors
- Phoca Newbie

- Posts: 2
- Joined: 27 May 2010, 14:12
Re: Disable detailed view, use link
Thank you very much. I made these changes. For me it works perfect:
In components/com_phocagallery/views/category/tmpl/default.php
change Line 124:
to:
and comment out this block at line ~420:
Now the 1st external Link will be taken if you click on the thumb.
Thanx again
ridors
In components/com_phocagallery/views/category/tmpl/default.php
change Line 124:
Code: Select all
echo ' href="'. $value->link.'"';Code: Select all
echo '<a href="http://'.$value->extlink1[0] .'"';Code: Select all
if ($value->displayiconextlink1 == 1) {
echo ' <a title="'.$value->extlink1[1] .'"'
.' href="http://'.$value->extlink1[0] .'" target="'.$value->extlink1[2] .'" '.$value->extlink1[5].'>'
.$value->extlink1[4].'</a>';Now the 1st external Link will be taken if you click on the thumb.
Thanx again
ridors
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Disable detailed view, use link
Ok
If you find Phoca extensions useful, please support the project