When adding images into an album there is a setting at the bottom of page asking...
Quote:
Set item titles from:
in the drop down box it has three options. Base Filename, Caption, and Blank.
How can I set this option to "Blank" as default.
thanks,
nonamer69
Posts: 32509
edit the correspondig template modules/core/templates/ItemAdd ... .tpl
Posts: 21
thanks for the reply, unfortunately I searched that file all over and could not find anything on it that looked simular to what I was trying to change.
Posts: 32509
modules/core/templates/ItemAddFromBrowser.tpl
change
selected=$form.set.title
to
'Blank'
copy the .tpl file to
modules/core/templates/local/ItemAddFromBrowser.tpl
and apply your customization there such that you don't lose it when you upgrade g2 to another version.
Posts: 21
awesome. thanks Valiant for helping me out ;)
Posts: 3
Just tried this MOD... with absolutely no effect.
The default setting is always Filename. I use 2.01 and french language.
Posts: 1
your solution is here: http://gallery.menalto.com/node/42799
i think... its just that this solution is for making it 'caption' rather than 'blank'. worked for me.
Posts: 1
Through trial and error, this is what I did so that "Blank" is the default "Set item titles from" option in the dropdown:
modules/core/templates/ItemAddFromBrowser.tpl
change
selected=$form.set.title
to
selected=''
This is probably obvious to PHP programmers. Not so obvious to those, like me, that are not.