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.
External link in gallery without opening a pop-up photo
-
Katya_Max
- Phoca Newbie

- Posts: 4
- Joined: 03 Feb 2012, 15:40
- Jan
- 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
Hi, not sure if I understand it correctly? When you click on external link, you will be redirected to the link 
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
components/com_phocagallery/views/category/tmpl/ ...
Jan
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
components/com_phocagallery/views/category/tmpl/ ...
Jan
If you find Phoca extensions useful, please support the project
-
Katya_Max
- Phoca Newbie

- Posts: 4
- Joined: 03 Feb 2012, 15:40
Re: External link in gallery without opening a pop-up photo
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.
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

- Posts: 4
- Joined: 03 Feb 2012, 15:40
Re: External link in gallery without opening a pop-up photo
Is it possible to remove links to pictures, or just make my video gallery, for example?
- Jan
- 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
Hi, this needs to be customized directly in the code, remove the A tag 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Katya_Max_2
- Phoca Newbie

- Posts: 1
- Joined: 03 Oct 2014, 09:28
Re: External link in gallery without opening a pop-up photo
Jan, hello!
Thank you, can I remove this link in a particular category?
Sincerely,
Ekaterina
Thank you, can I remove this link in a particular category?
Sincerely,
Ekaterina
- Jan
- 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
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 (the category == partucular category) {
// comment the a tags
} else {
// display the a tags
}
Jan
If you find Phoca extensions useful, please support the project