ZenphotoCMS Forum
admin - edit album modifications - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: admin - edit album modifications (/thread-3780.html)



admin - edit album modifications - linusvp - 2008-09-17

Hi!

In the admin panel on the edit albums page, if you go to a specific album and edit it, there is an option to set an album username and password.

By default there is a user name (admin) and a password present. Also, at the bottom of that page, there is an 'allow comments' checkbox which is checked by default.

I'm curious what I'd have to do to make the album username and password blank by default. And also, how to make the 'allow comments' box unchecked by default.

I did notice that when you mass edit all the albums at once, the album username and password fields are blank by default. And the allow comments checkbox is unchecked by default. Odd that it's not that way for editing a specific album.

I should mention that I'm highly proficient in html and css (and a fair bit of php) so editing the source is not a problem.

Thanks for any info!

Cheers,
lvp




admin - edit album modifications - acrylian - 2008-09-17

To the password/username: This is related to a setting in your browser that automatically fills forms. Disable that setting in the browser's settings.

The comment checkbox: If the reason behind this is not to use comments at all you could just remove the comments code from your theme files. More info about that in our theming tutorial.




admin - edit album modifications - linusvp - 2008-09-17

Thank you for the info! Exactly what I needed.




admin - edit album modifications - sbillard - 2008-09-18

I did notice that when you mass edit all the albums at once, the album username and password fields are blank by default. And the allow comments checkbox is unchecked by default. Odd that it's not that way for editing a specific album.

This is not how it looks when I mass edit. Those fields are set to the current value from the database for the album. In particular, if you have not set them, user/password will be empty and allow comments will be checked.