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

Phoca Gallery - image gallery extension
smtgra011
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Nov 2009, 14:22

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, you should change the module file like you have changed the component file.

Jan
If you find Phoca extensions useful, please support the project
smtgra011
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Nov 2009, 14:22

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

Post by smtgra011 »

Thanks, where is the module file located? I can't seem to find it...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

in joomla root/modules folder.

Jan
If you find Phoca extensions useful, please support the project
smtgra011
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Nov 2009, 14:22

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, sorry I don't understand what is :
I show the gallery through the content call
?
If you find Phoca extensions useful, please support the project
vega
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jun 2010, 17:18

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

Post 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)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
vega
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jun 2010, 17:18

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

Post 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!
Post Reply