Add button

Phoca Gallery - image gallery extension
dcher
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 Sep 2013, 00:42

Add button

Post by dcher »

Could you, pls, help me... I want to add button (onclick open original image in new windiw ) in detail view (multibox) :x
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add button

Post by Jan »

Hi, sorry I don't understand, the buttons should be in detail window? if yes, you need to add special html code to detail window (only iframe)
components/com_phocagallery/views/detail/tmpl/ ...

and load the image info from database and from this info create a link ... but no idea where you want to display the original image...

If you are not familiar with php and mysql, I think, the best way is to hire someone for such customization :idea:

Jan
If you find Phoca extensions useful, please support the project
dcher
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 Sep 2013, 00:42

Re: Add button

Post by dcher »

Hi, yes, the button should be in detail window. when you click on the button the image should open in new window (blank), just image in it's original size... Could you pls, advice me correct code and where to add it. Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add button

Post by Jan »

Hi, unfortunately I didn't do such customization yet, so I don't know what exactly needs to be done :-(

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