Hello I try to use this recomendation https://www.phoca.cz/blog/1238-how-to-d ... ery-plugin and use {phocagallery view=category|categoryid=1053|displaydownload=1|limitstart=0|limitcount=2|displayname=1}
Everything is OK with categoryid=1053|limitstart=0|limitcount=2 but I need icon to download image as it was in Phoca Gallery Image Module. No results if I add displaydownload=1 as displayname=1. Read doc, search forum... unfortunately nothing. Any help will be appreciate. Site in Joomla 4 at local server. With Joomla 3.10.12 everything was ok with Phoca Gallery Image Module.
Phoca Gallery Plugin in module
- Benno
- Phoca Hero
- Posts: 9423
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Gallery Plugin in module
Hi,
'Display Image Title=Yes/No' & 'Display Caption (Photoswipe)=Title and/or Description' can be set directly in the Plugin --> Main Options
Kind regards,
Benno
This is a Phoca Gallery for Joomla! 3 parameter. Don't use it.displayname=1
'Display Image Title=Yes/No' & 'Display Caption (Photoswipe)=Title and/or Description' can be set directly in the Plugin --> Main Options
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 4
- Joined: 29 Aug 2023, 22:09
Re: Phoca Gallery Plugin in module
Answer myself. Although its hack, but may be somebody need it urgent. To have button to download original image using Phoca Gallery Plugin in module add in file boximage.php two lines after 37 line:
$path='images/phocagallery/'.$item->filename;
echo '<p class="mx-2 my-2"><a class="btn btn-primary text-white" href="'. $path .'" download>Download</a></p>'. "\n";
Last line you can modify yourself as you like.
May be this not correct way but fast.
$path='images/phocagallery/'.$item->filename;
echo '<p class="mx-2 my-2"><a class="btn btn-primary text-white" href="'. $path .'" download>Download</a></p>'. "\n";
Last line you can modify yourself as you like.
May be this not correct way but fast.
- Jan
- Phoca Hero
- Posts: 48343
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Plugin in module
Hi, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project