Views Language Switcher

Component type

module

Categories

Maintenance status

Development status

Downloads

2629

Component created

Component changed

Overview

This functionality is best illustrated with a use case: you have multilingual content in your site, in the form of nodes that are full translations of each other. Let's say they are news articles. You have a View that shows all news articles, filtered by the user's language.

Now you want to provide a language switcher that will list all languages, but is also content aware, i.e. it only provides the option to switch to a language if there is content in that language for this View. Views summary view can get close, but does not produce native labels for the languages, and it only prints links that have results.

This module closes the gap. It provides a block that appears only on Views pages and outputs a list of languages. Although all languages will always be listed, each item will only be linked if clicking on it actually provides a non-empty page.

Search by fields views

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

The Search by fields view module builds a view for all content types and adds the signed fields of this content type to this view as exposed filter.

Installation

Copy search_by_fields_views folder to your module directory and then enable on the admin/modules page.

Views php pager

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This small sandbox project allows to generate a pager in php.

There are certain use cases where you might have not that many results in the actual query like 50 but you can't remove items on the query level, but you still want a proper pager.

This module basically loads all items and reduces them according to the current page.

Menu Views

Component type

module

Maintenance status

Development status

Downloads

73953

Component created

Component changed

Allows menu items to render views instead of links. This is useful for creating "mega-menus".

What Menu Views Does

Menu Views is a utility module. It provides back end support for replacing a standard menu item link with a menu item view. Menu items (in any menu) now have the option of toggling between two different menu item types: link or view. Depending on which option is selected, the appropriate configuration form is displayed on the admin side and the appropriate type of item is rendered on the front-end.

What Menu Views Does NOT Do

Menu Views is NOT a theming/styling module for mega-menus. As stated above, this module is strictly a utility module for replacing menu item link with a view. Once the HTML markup is there, Menu View's job is done! Read #1794010: Menu Views is not working.

Theme Integration

Depending on how a theme renders the primary and secondary navigation, this module may not work because the parent items may not ever be extended (regardless whether they are checked as such in the menu item).

It is strongly recommended to use one of the following modules in your theme's menu region instead (see: Use menus in Drupal 7? You need Menu block module.).

Basic Page

Component type

module

Maintenance status

Development status

Component created

Component changed

A simple content managing module for creating/editing and deleting custom pages with editable title, body, path and publishing option.

Its lighter than the core node module and provide publishing and editable forms for users.

Similar modules