Home > By category > Scripts >Modules > View of Views



View of Views

  • Downloads: 
  • Views: 
  • Rating:

Concatenates multiple (table) views together into one table.

This module is frankly disgusting,

It revolves around the following piece of code

However, the end result is helpful. Imagine you wish to have an editable spreadsheet, with some fields "calculated".... here's how.
Lets take a simple example: We want to build a shopping list:

apples : d-OCUTC2

oranges: d-OCUTC4

bananas: d-OCUTC3.50

TOTAL: d-OCUTC9:50

1) Create a content type for the shopping list. ("List") We'll be adding things to this later.

2) Create a content type for the lines in your shopping list. ("items")

On "items", we need 3 fields: The description, the price, and a node reference to the shopping list (List)

you may like to add some test data now!

3) Now, create a simple view (itemprice), which lists out the prices for all the items, which has a specific node reference (put node reference as an argument). Call this totalview.

4) Now add a content type to your shopping list that is a computed field - you will need the module computed_field you will also need to follow the example here:
/node/180013. Add a computation that calculates the total you want, using your nice view.
Note, this is the HUGE power here - you can make any calculation you like, and using views, it can be complex

5) Now create another view (itemlist), this time, make it an editableview - you will need editablefields. Just like last time, this view should list all items associated with a shopping list, which should be provided as an argument. Only this time, why dont you filter out items with a price =0, and you could make the price and description editable... (go check the view is working - remember to give it the argument of a shopping list node)

6) Time for another view (thistotal). This time, set up a view to select the "total" field (that you set up in 4), on nodes that have a node ID that you supply as an argument - just select node ID as an argument. In essence, this is a view of a computed field.
this is the basic mechanism here - set up a view of a computed field

7) One more view? -- Create one more view (shoppinglistview) with the view_of_views module.
For this one, use the view_of_views table type, and then add a filter, using the view_of_view selector, one per view that you want included. Use one view per filter (though you could select more) - so that you can re-organize them as you would like them to appear.

MAKE SURE YOU ADD AN ARGUMENT TO THE VIEW

(your sub-views take an argument, so, so should your view of views. in this case, it does not matter what argument you choose, so long as you indicate that there will be one - i.e. node ID)

8) Now it's time to put the final touches on:
Now you would like to see this list on your shopping list node, so add a viewfield
viewfield. Things to note - you better set the default view when you set up the content, and also, we need this patch/node/165321 (We need this because we are using a view field to view a view of a field on this page - anyway we do! - if you dont want to apply the patch, then the "total" computed field has to be moved to some other page - with a node reference etc - you can do it if you want).

Bingo - you should end up with a shopping list.

You can now add other fields to your items, some of which could be calculated (like unit price * number), and you could add other rows, like total, tax, total including tax. In this case, you add more computed fields, and one more view per row, and then you add these to your overall shopping list view.

Some bad things to note - the computed field runs the view in the display code - otherwise it wont update when a node that is not this node is updated. If you want to make a calculation based on a calculated field, you need to re-calculate it all.

Free download from Shareware Connection - Concatenates multiple (table) views together into one table.

Publisher: Mark Burton | License: Freeware | Price: 0.00
Version: 5.x-1.0 | Size: 10 KB | Platform: PHP, Scripts
Released Date: 06-04-2013 | Rating: 0 | Title: View of Views

Author Url: http://drupal.org/
Program Info Url: http://drupal.org/
Download Url: http://ftp.drupal.org/files/projects/view_of_views-5.x-1.0.tar.gz

More downloads from View of Views publisher Mark Burton:

InsertNode - A filter allowing you to insert a node within another (or wherever a filter is active, it works in blocks, for instance.)

og_add_user_autocomplete - Make the add OG subscribe user field autocomplete - pretty much does what it says on the tin

Email Input Filter - Email Input Filter converts email style markup into web friendly format.

ajaxeditable - This module adds the ability to edit a single element.

View of Views keywords:
View of Views related downloads:

Electric Field of Dreams - Electric Field of Dreams is designed as an easy-to-use simulation application designed to allow you to add charges to the Field of Dreams and see how they react to the electric field.

Aobo Filter for Mac Standard - Aobo Filter for Mac Standard is an internet filtering and website blocking application that helps Mac OS X users to block adult websites, stop games, applications and record visited websites on Mac. Aobo Filter for Mac Standard provides 5-day free tr

Aobo Filter for Mac Professional - Aobo Filter for Mac Professional is an internet filtering and website blocking application that helps Mac OS X users to block adult websites, stop games, applications and record visited websites on Mac. Aobo Filter for Mac provides 5-day free trial.

AJAX Select - AJAX Select can enable CCK select fields with an AJAX feature to dynamically update the value of that field when viewing the node.

EA Internet Filter - EA Internet Filter, the most easy-to-use & effective content filtering software

Shareware Connection periodically updates pricing and software information of 'View of Views' from company source 'Mark Burton' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'View of Views' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of View of Views.

New Reviews

PictBear - Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime ...

Trend Micro HouseCall - With time, PC users find it increasingly difficult to keep their systems free of malware and rogue apps, despite using latest and feature packed security software. This is mostly owing to the evolving nature of malware and newer types of ...

CyberGhost VPN - There are so many ways available to browse the web nowadays. You can use a plethora of devices and pick from various service providers to get online. However, tech savvy users resort to additional measures to access the internet without being ...

Imagina - Average PC users have to deal with an ever increasing number of digital images these days. This has become a trend after invasion of digital cameras and smart phone with high quality cameras among the mass. You also need to edit and retouch ...

Qustodio Free Parental Control - Without using the Internet, it is extremely difficult to obtain information, seek entertainment or look for study references but there is a downside to it as well. While some tech savvy kids master the tricks to bypass monitoring of their parents ...

Avidemux - Editing and converting video files is not as complicated or tedious as most people think. Owing to improvements in both computer software and hardware, even casual PC users can perform light to moderate video editing without much fuss nowadays. ...

DriveHQ Online Backup Enterprise Edition - For individual users as well as organizations, taking backup of data is vital nowadays. You really cannot count on the PC hard drive solely to store your data forever in a secure manner, as it is! Backup software is a prerequisite and choosing ...

SoftAmbulance Free Eraser - Windows comes with a set of integrated utilities to let users maintain and cleanup their computers. While you can always delete files and folders from partitions, that is not a fail proof method. The data remains on hard disk in reality and any ...

ChrisPC Free Video Converter - Even a few years back, video conversion was not commonplace among average PC users. However, with tremendous progress made in computer software and hardware things have changed. Now, it is quite common to see your neighborhood college student ...

SumatraPDF - The PDF format is used worldwide to distribute document files without changing formatting, alignment and layout. It can also be used to share complex engineering designs and diagrams along with massive amounts of text. The biggest benefit of this ...




New Downloads

Honeyview Image Viewer

Honeyview is very fast image
and archived image viewing
software. It allows viewing of
images within an archive
without ...

Website Monitoring -
Performance Monitoring

Website monitoring,
performance, and uptime
management tool. Run this
script as often as you'd like
your website monitored.

Softtanks Business Planner

Free Business Planning
Software from Softtanks.com,
It will change the way your
business works. Your
Employees, ...

Uni-eCart

Uni-eCart is an exclusive
shopping solution where
products can be located with
multiple attributes such as
size, ...

Ubercart Event Registration

event registration system

arkavis sidebar plugin

arkavis.de provides a way for
easily hundreds of games in
your WordPress automatically
integrate and apply new games.

DataMiner API

An API for scraping the
Internet via cURL, HTMLTidy,
and SimpleXML.

CoMoblog

CoMoblog is a community driven
'mobile orientated' blogging
application that allows you to
blog to your website from any
...

tinterp

Provides linear and quadratic
interpolation methods for
functions defined on scattered
2D datasets.

RubikViewer

RubikViewer is a simple GUI
tool that enables rubik's cube
rotation. It is possible to
perform all basic and advanced
...

Generic DLL Front-End

This GUI simplifies using the
new generic DLL calling
capability provided by the
MathWorks.

Context Theme

This Drupal module provides
the ability to set the current
theme based on context