External link in gallery without opening a pop-up photo

Phoca Gallery - image gallery extension
Katya_Max
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 03 Feb 2012, 15:40

External link in gallery without opening a pop-up photo

Post by Katya_Max »

Hello, dear developers!

Tell me, how can I do so in a particular category
when you click on the photo in miniature only the link was appeared and not the photo with link?

Sincerely,
Ekaterina.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: External link in gallery without opening a pop-up photo

Post by Jan »

Hi, not sure if I understand it correctly? When you click on external link, you will be redirected to the link :idea:

Do you mean that you want to display only external link but not link to detail window? If yes, this needs to be customized directly in the code and the link needs to be removed there :idea:

components/com_phocagallery/views/category/tmpl/ ...

Jan
If you find Phoca extensions useful, please support the project
Katya_Max
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 03 Feb 2012, 15:40

Re: External link in gallery without opening a pop-up photo

Post by Katya_Max »

Dear Jan, good day!

Thank you for useful answer! Yes, I would like to show only external link without detail window.
But I don't know how to change this code in specific catagory or there are other ways.

Advance grateful,
Ekaterina.
Katya_Max
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 03 Feb 2012, 15:40

Re: External link in gallery without opening a pop-up photo

Post by Katya_Max »

Is it possible to remove links to pictures, or just make my video gallery, for example?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: External link in gallery without opening a pop-up photo

Post by Jan »

Hi, this needs to be customized directly in the code, remove the A tag :idea:

Jan
If you find Phoca extensions useful, please support the project
Katya_Max_2
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 03 Oct 2014, 09:28

Re: External link in gallery without opening a pop-up photo

Post by Katya_Max_2 »

Jan, hello!

Thank you, can I remove this link in a particular category?

Sincerely,
Ekaterina
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: External link in gallery without opening a pop-up photo

Post by Jan »

Hi, then you need to set it in the code, some if condition:

if (the category == partucular category) {
// comment the a tags
} else {
// display the a tags
}

Jan
If you find Phoca extensions useful, please support the project
Post Reply