Page 2 of 3

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 30 Nov 2009, 14:27
by smtgra011
Hi

I have made the changes the default.php file, and this has the expected effect if I click on an image from a page (using the component). i.e The shadowbox does not show the title of the image.

If, however, I click on an image in the module (Phoca Gallery Image Module) the title now shows up again in the shadowbox.
Which file do I need to edit to stop this happening?

Thanks
Graeme

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 02 Dec 2009, 00:37
by Jan
Hi, you should change the module file like you have changed the component file.

Jan

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 05 Dec 2009, 22:02
by smtgra011
Thanks, where is the module file located? I can't seem to find it...

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 08 Dec 2009, 00:00
by Jan
in joomla root/modules folder.

Jan

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 09 Dec 2009, 19:02
by smtgra011
Hi

As far as I can see there is no "views" folder in the mod_phocagallery_image folder and the default.php file in the tmpl folder does not contain any reference to titles.

Am I missing something?

Thanks
Graeme

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 10 Dec 2009, 16:30
by Jan
Hi, you should check the main code, modules doesn't have the same structure like components. the main file in module is view/controller/model and the tmpl file is template.

Jan

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 16 Dec 2009, 21:45
by Jan
Hi, sorry I don't understand what is :
I show the gallery through the content call
?

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 16 Jun 2010, 17:23
by vega
Sorry to revive a dead topic, but this IS the #1 google hit for this question, and I think it will help others out who have this same problem.

I followed the solution on page 1 to remove the image title from the shadowbox brought up from the galleries page, but I've scoured the module code and I can't find the line to remove the title from the shadowbox brought up by the module. If you could point me to a line number or even give me a snippet of code to search for, it would help out a lot (I already tried searching for "title=" to no success).


Thanks again for all your help. 8)

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 18 Jun 2010, 13:08
by Jan
Hi, see the code:

components/com_phocagallery/views/category/view.html.php
components/com_phocagallery/views/category/tmpl/default.php (html code for displaying the images in category view - so there you will find title attribute)

Jan

Re: [SOLVED] Shadowbox gallery : how to hide file name ?

Posted: 21 Jun 2010, 22:44
by vega
Hi, Jan.

I've looked through these files, and I've managed to hide titles in the component, but not in the module :x
It's in mosaic mode, if that makes a difference.

I've been looking through your code for days, but I just can't find it!