Page 1 of 1

Adding external links to display in the modal box

Posted: 16 Mar 2011, 02:38
by brandonmhill
Hello, I need to use phoca gallery (along with phoca downloads) in a creative way.

Basically I need to create a gallery that displays thumbnails of images like it currently does in category view. When the the thumbnail images are clicked, a lightbox pops up with the image in larger view. Above the lightbox, I need 1 or 2 external links displayed depending on whether I entered in 1 or two links... Basically I am linking the external links to a zip file in phoca downloads that contains the image in hi rez or low rez along with a text file.

So in a perfect world, I need to edit the component to:

1. Display thumbnails in the category view as they currently do but WITHOUT any other icons. Just the thumbnail.
2. When the thumbnail is clicked, the modal box appears with the larger image plus the external link icons above the photo.

I have been looking through the component code to try and figure out which files to edit and I still feel a bit lost. Any help would be greatly appreciated.

Amazing components! Great work!!

Cheers,

Brandon

Re: Adding external links to display in the modal box

Posted: 16 Mar 2011, 06:18
by brandonmhill
Hello, it's me again.

I decided to take two screen shots and edit them as to display what I'm trying to achieve. I know a picture is worth 1000 words...

Here is what I want in the category thumbnail view...

Image

And this would be the popup with either one or two external links to download depending on if I had a hirez and lowrez photo...

Image

It seems like I just need to omit some code and add a bit to the modal display...

Any thoughts would be greatly appreciated.

Many Thanks,


Brandon

Re: Adding external links to display in the modal box

Posted: 17 Mar 2011, 01:23
by Jan
Hi,

1) you can set it in parameters
2) you can add the links to description which is displayed below the large thumbnail
or copy the following from category view and add it to detail view (the links below thumbnails):
https://www.phoca.cz/joomla-templates

Jan

Re: Adding external links to display in the modal box

Posted: 18 Mar 2011, 00:54
by brandonmhill
Thank you for the replay. I will look at the configuration settings. Also, thank you for the link to the themes.

Very best,

Brandon

Re: Adding external links to display in the modal box

Posted: 25 Mar 2011, 00:15
by Jan
Ok