Page 1 of 1

[SOLVED] Remove Titles in Gallery Module

Posted: Wed Apr 02, 2014 4:27 pm
by 13adger
Hi there, could you tell me in very simple English how to remove the image titles from the images in the Gallery module? I have tried removing various elements with include the word 'title', with various interesting results, but none of which doing what I wanted.

I'd like no title, no comment, and ideally, no grey stripe at the bottom of the image. I'm using the AE-Gallery template.

Many thanks

Re: Remove Titles in Gallery Module

Posted: Wed Apr 02, 2014 4:52 pm
by Rolf
You have read http://wiki.cmsms.nl/index.php/Gallery ?
Lots of good info!

Re: Remove Titles in Gallery Module

Posted: Wed Apr 02, 2014 5:02 pm
by 13adger
Thanks, Rolf, I have read that. If the answer is there, I didn't see/understand it! Will keep looking

Re: Remove Titles in Gallery Module

Posted: Wed Apr 02, 2014 5:05 pm
by Jo Morg
I think that's what you are looking for: http://wiki.cmsms.nl/index.php/Gallery# ... _variables

Re: Remove Titles in Gallery Module

Posted: Thu Apr 03, 2014 5:36 pm
by 13adger
Thanks both of you, but I'm afraid I still don't understand anything in there that tells me which lines to remove. I thought the FAQ "How to remove the text X images in the template" might be the one, but that just explains how to remove the number count, which I'd already worked out. I'm a real newbie at this, so 'perameters' etc don't mean much to me.

I'd really appreciate it if someone who uses this gallery a lot could just tell me which line(s) of code to remove.

Thanks

Re: Remove Titles in Gallery Module

Posted: Thu Apr 03, 2014 6:14 pm
by Dr.CSS
The line of code you need is going to be somewhere in the Gallery template that you use, I have no idea which one it is so I can't just say 'on such and such line remove such and such code' look at all the parameters and {* smarty comment *} each one out one at a time till it goes away, maybe..?

P.S. I've never used Gallery so I'm not much help there, I use Album...

Re: Remove Titles in Gallery Module

Posted: Fri Apr 04, 2014 8:59 am
by 13adger
Thanks all. For the sake of other newbies like myself, I found the line to remove, which is:

title="{$image->title}" alt="{if empty($image->comment)}{$image->titlename}{else}{$image->comment}{/if}"

I did it by trial and error in the end, so that's a good lesson learnt.