Drupal 7 module
Project page: http://drupal.org/sandbox/rasmus/1928276
The Subviews module delivers an output style for Views that lets you create table like trees where views can be nested into eachother.
The output style contains the following features:
- expand/collapse functionality
- optional AJAX loading
- parsing field values as arguments to the subview
- remembering the expand/collapse state of a row in the user session
- mixed entity views. The nested views doesn't have to be the same entity type as the parent view.
Example ussages
- Taxonomy trees
- Taxonomy lists that display related content
- Node views with expandable comment lists
- Use it with Entity Reference to show related content
You need Views 3 for this module to work.
Git clone:
git clone http://git.drupal.org/sandbox/rasmus/1928276.git subviews
Reviews I have done so far:
http://drupal.org/node/1943788#comment-7185592
I know I need to do more and I will do them within the next couple of weeks
Comments
Comment #1
mayank-kamothi commentedhi
Autometed Review
Check this url http://ventral.org/pareview/httpgitdrupalorgsandboxrasmus1928276git
Thanks,
Mayank Kamothi
Comment #2
arun ak commentedHi mayank-kamothi,
I tried your module, I create a view with format Subview, then I add Recent comment block as subview.
Then in Subview General settings 'AJAX enabled expand/close' as Subviews behavior.
But I felt an issue, the 'AJAX enabled expand/close' functionality only working for first item on the list and the functionality not attach with remaining items in list.
Comment #3
Rasmus Steen commentedARUN AK: That is because you need to set up a contextual filter on your comments view and then have a Node ID field on your parent Subviews view. The Node ID field should be passed in as an argument to the comment view.
The reason why it is only attached to the first view is because Subviews identifies the views using a combination of the passed arguments. In this way it is possible for Subviews to remember the collapse/expand state across multiple Subviews for easy navigation.
Comment #4
Rasmus Steen commentedARUN AK: I will make a validation to check that you have set up the arguments if you are using the Expand/Collapse modes
Comment #5
Rasmus Steen commentedmayank-kamothi: Code is now fixed according to pareview almost everywhere
ARUN AK: Expand/collapse functionality now only works when you have set up arguments
Comment #6
Rasmus Steen commentedUpdated status
Comment #7
PA robot commentedWe are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and put yourself on the PAReview: review bonus high priority list. Then I'll take a look at your project right away :-)
Comment #7.0
PA robot commentedChanged the GIT clone command
Comment #8
mayank-kamothi commentedHi ARUN AK,
First see module developer name and than put comment like "I tried your module".
This is not my module and i have just given a review of this module.
I hope next time you will be a care full.
Thanks,
Mayank kamothi.
Comment #9
sreynen commentedComment #10
kscheirerYour project page could really use an image to show the module in action - just reading the text was not clear to me.
All your menu items in subviews_menu() have an access callback of TRUE, meaning they will work for any user and combined with _subviews_load_view() using whatever is present in a GET string could expose all views to the public.
Views already has a permission-based access system, ajax, and methods for dealing with user arguments. Please use them and close these security holes.
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #11
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11.0
PA robot commentedUpdated the list of reviews