Download & Extend

Ability to limit view selection to specific views

Project:Inline and link Drupal objects (Linodef)
Version:6.x-1.x-dev
Component:Taglists
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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).

Comments

#1

Status:active» needs review

Attached 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.

AttachmentSize
994666-linodef-limit-views.patch 7.83 KB

#2

ps. sorry about the messy patch... that's what you get for using tabs instead of spaces :P
http://drupal.org/coding-standards#indenting

#3

Thanks 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.

#4

Nevermind, just resolved my issue.

The problem was with my view, now it's resolved.