Currently the view integration with taglists shows a popup with all views listed. I don't want my users to be able to use any views to embed, but instead only want to give them the ability to use 2 or 3 specific views that are configured to work correctly with the rest of the taglist definition (specific display_id and arguments etc).
So, in addition to the getallviews source that is currently available, I propose another method of generating the list whereby you can select specific views that should be available (much like when using nodes - you can select only specific content types to be available).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 994666-linodef-limit-views.patch | 7.83 KB | mrfelton |
Comments
Comment #1
mrfelton commentedAttached seems to do what I need it to. It adds a new option 'getsomeviews' where you can select the specific views that should be included.
Comment #2
mrfelton commentedps. sorry about the messy patch... that's what you get for using tabs instead of spaces :P
http://drupal.org/coding-standards#indenting
Comment #3
salvadorp commentedThanks for the patch and for the module!
But I have a question about this patch, it gives the option to choose a specific view, but when the button of the wysiwyg is pressed, I only get a popup window, with a null value, instead of getting the view I had chosen before at the tag lists.
Maybe I'm doing something wrong when creating a view, the view I use receives the id of the taxonomy and shows the elements that have that taxonomy.
Thanks for your help.
Comment #4
salvadorp commentedNevermind, just resolved my issue.
The problem was with my view, now it's resolved.