What is Views megarow?

This module allows you to display content coming from a menu callback between
two items of a views result set as a modal-like.
You can use it to display a preview of your node or to build an administrative
form.

Said otherwise, you can dynamically display content below a row of a table of results coming from a view. This content is shown when you click on a link, it means that you can display anything from a preview of your node for instance to a moderation form of an entity.

In order to use it:

  1. Create a new view
  2. Select the "Megarow table" format
  3. Add a "Megarow links" field
  4. In this field enter one megarow link per line, the structure of a link is the link title and its path joined with a pipe sign (|) (eg: Preview|node/1).
  5. Save your view and display your table
  6. When you will click on a link, Drupal will load what's behind this page and will render it as the megarow content below the current result of the view.

Views megarow has been designed to let you render forms in the megarow meaning
that you can have validation functions that will block the form submission
and once the form is properly submitted the line of results can be refreshed
to display the new values.

Out of the box you don't have an example of this feature, have a look to
Commerce Backoffice to see
an example of this implementation.

PANELS USERS :
This module overrides by default the node/%node/edit and user/%user/edit menu callbacks. If you plan to override it with Panels, please disable this override in the configuration page admin/config/user-interface/views_megarow.

Sponsored by Publicis Modem.
Developed and sponsored by Commerce Guys.

Supporting organizations: 
Maintenance time

Project Information

Downloads