Mod_rsdefgal, the RSGallery2 Default Gallery Module for Joomla

The RSGallery2 component for Joomla is great but it wants every user to create a picture gallery before uploading their favorite images. Because that complicates what should be a simple process, I wrote this small module to create a default gallery if the user does not have any.

You set this up the way you do any other component, with the exception that you will probably only want it to load if the user is logged in. For the website this was designed for, I set the access level to "registered" and assigned it to all of the menu items.

As a bonus, this module also contains a quick javascript hack that automatically selects the user's first image gallery on the upload form. This makes for simpler navigation and fewer headaches for your users.

It was tested against Joomla 1.5.8 and RSGallery2 1.16.0.

AttachmentSize
mod_rsdefgal_0_1.zip2.02 KB