Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views Megarow

Security covered Under active development 2,976 sites

Part of the Views ecosystem · 286 projects

This module allows you to display custom content, such as node previews or administrative forms, within a view's results. Clicking a link associated with a view row dynamically loads and displays this content below the row, like a modal. This feature is useful for inline editing or showing related information without leaving the main view.

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.

Ask your assistant about Views Megarow

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jan 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta3 Pre-release 8–10 Mar 6, 2024
1.0.0-beta2 Pre-release 8–10 Feb 1, 2024
1.0.0-beta1 Pre-release 8–10 Jan 31, 2024
1.0.x-dev Dev 8–10 Jan 31, 2024