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
[SOLVED] Shadowbox gallery : how to hide file name ?
-
smtgra011
- Phoca Newbie

- Posts: 3
- Joined: 30 Nov 2009, 14:22
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
Hi, you should change the module file like you have changed the component file.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
smtgra011
- Phoca Newbie

- Posts: 3
- Joined: 30 Nov 2009, 14:22
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
Thanks, where is the module file located? I can't seem to find it...
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
in joomla root/modules folder.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
smtgra011
- Phoca Newbie

- Posts: 3
- Joined: 30 Nov 2009, 14:22
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
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
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
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
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
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
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

- Posts: 2
- Joined: 16 Jun 2010, 17:18
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
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.
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.
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
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
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

- Posts: 2
- Joined: 16 Jun 2010, 17:18
Re: [SOLVED] Shadowbox gallery : how to hide file name ?
Hi, Jan.
I've looked through these files, and I've managed to hide titles in the component, but not in the module
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!
I've looked through these files, and I've managed to hide titles in the component, but not in the module
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!