Project:Image Gallery Access
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I had an idea today for how to make this module work with the Views-based galleries.

You could create a Views argument validation plugin that subclasses the taxonomy term ID check, and in addition checks access to the taxonomy term.
There's an example of one in image module's size argument.

Comments

#1

Thank you for your input.

Why do you think this is needed? I've played with it a bit, and it seems to work right out of the box.

#2

Hello,

Working fine out of the box for me too !

Vincent

#3

Oh ok! I've not tried this module, but I saw on the project page that it didn't work with Views-based galleries yet.

#4

I didn't say it didn't work:

The Image module provides two kinds of galleries. The new default kind is Views2-based and we don't know how/whether it works with IGA — all feedback would be appreciated! If you wish to activate the mature hard-coded galleries, you must disable the gallery views in Views2.

I've updated the text in the meantime.

While I have your attention: is it possible to dynamically add one or more links at the bottom of a gallery page, such as an 'edit gallery' and an 'add sub-gallery' link, in the Views version? Views aren't forms, if I remember correctly (i.e. no form_alter). How could I do that?

(ref #276612-5: Allow moderators to create subgalleries)

#5

@joachim: Please see my question above...

#6

Views 1 had hook_views_post_view. I think something similar exists in Views 2, but I don't remember the name. With that you can test for the type of view and append something to its content.

#7

Thanks for pointing me in the right direction!

#8

Status:active» fixed

I have kind of lost track of this, but I think I implemented this quite a while ago and according to #859974-2: Webmaster cannot see image gallery anymore after IGA install it works, too.

Feel free to reopen if anything is missing.

#9

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.