Moving the Download Button

Phoca Gallery - image gallery extension
outlier25
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Aug 2012, 03:29

Moving the Download Button

Post by outlier25 »

First off great component I love it!!

Is there a way to move the download button that appears under the thumbnails? I would like to have it appear in the slimbox or modelbox view under the image next to the descriptions and title. Also a little side note it would be awesome If i can make that download link only appear to members that signed up but I guess first I need to see how to get the button there.

I searched for this but kept getting results reguarding the phoca download module which I think doesnt relate to the gallery componet. Please correct me if im wrong.

Thanks for the support guys
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Moving the Download Button

Post by Jan »

Hi, this needs to be customized in the code, see:
components/com_phocagallery/views/detail/tmpl/ ...

Jan
If you find Phoca extensions useful, please support the project
outlier25
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Aug 2012, 03:29

Re: Moving the Download Button

Post by outlier25 »

ok well thats where the download.php is loacted, but im guessing the file I need to edit is file that code the slimbox or whatever lightbox I decide to use. Then maybe I could add a div to the bottom of that lightbox where I can add the direct download link is that right?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Moving the Download Button

Post by Jan »

You can add it to template output of the detail view - but only in case the detail button is an iframe method:
https://www.phoca.cz/documents/50-phoca/ ... al-advices
Jan
If you find Phoca extensions useful, please support the project
Post Reply