The description for this module says:

"Views Gallery OG, included in this package, provides a setup page to make it easy to automatically create a gallery for every group and adds group context to the forms wherever possible so the right groups and group galleries are pre-selected when you create gallery images."

When I create a new group, a new image-gallery instance is not automatically created as I originally thought would happen, based on the description above. However, the "Create galleries" button on the configuration page works perfectly - any newly created groups get a new gallery and existing groups do not get another one.

Question: I need new groups to automatically get a new gallery without me logging in and clicking the button. How do I automate and mimic the effect of periodically clicking of the "Create galleries" button? Can I get cron to do this somehow?

Or, is there a way for the gallery to be created at the time a new group is created?

Thanks!

Comments

bluesband’s picture

subscribe +1

mazdakaps’s picture

subscribe

karens’s picture

Category: support » feature

You can go back to admin/settings/views_gallery_og any time and auto create galleries. It will only create galleries for groups that don't already have them, so you can do it again and again.

It would be possible to add some code to automatically do this when a group is created, but I would have to add some form and settings so you could control whether or not that happened. I don't have any immediate plans to do that.

I'll switch this to a feature request, but as noted above, I'm not planning to do it ATM.

karens’s picture

Version: 6.x-1.3 » 6.x-2.x-dev

Oh and it would only be done on the 6.2 branch, the 6.1 code is being deprecated.