In the last installment of multiple views you will learn how to change the look of the view using the two classes you set in the previous video. By using CSS, you will be able to display content in two ways depending on the choice of the viewer. This is a nice advantage to provide options for the visitor to your site.
In part 2 of the multiple views series you will learn how to add the jQuery needed to switch between multiple classes. By having the ability to use multiple classes, we will (in part 3) be able to use CSS to change the look and feel of the same view.
Here is the jQuery code used to switch between grid and list view:
In this episode, you will learn how to set up the foundation of building a view that can display content in multiple ways. This video highlights how to set up the content type and view to display the content. In the coming videos in this series, you will learn how to style and apply jQuery to change how the view displays the content.
Need help learning views? Look at our Drupal views intro.
/** * Implements hook_block_info(). */
The Drupal 7 Entity View Modes Module allows you to define custom view modes for your entities. A view mode allows you to configure which fields on your entity you want to display. For example, Drupal by default has a Teaser view mode that you can set up to display different fields from your Full Content view mode. This module will allow you to add your own view modes on top of the ones Drupal gives you by default.
In this lesson you will learn:
The Drupal 7 Panelizer Module allows you to panelize (or use panels) for any entity type on your Drupal 7 site. This allows you to change the layout of a node page, user page, or any other type of entity that you can think of. Although it's a little more complicated to set up, the Panelizer module allows you to set up a slimmed down panels interface for other site managers to use. This way you can allow a site manager to change the layout of specific node pages or even choose from a list of predefined node layouts that you set up.
The Fieldable Panels Panes module allows you to create re-usable and fieldable entities that can easily be dropped into Panels pages. This can be useful if the traditional Add Content panes inside Panels is too limiting for you. This also allows using fields (which are translatable) for your Panels content.
In this episode you will learn:
In this episode we cover the Splashify module. This module is used to display splash pages or popups. There are multiple configuration options available to fit your site needs.
In this episode you will learn:
- How to set up Splashify
- How to configure Splashify
- How to get Splashify to use the Mobile Detect plugin
- How Splashify displays to the end user
- How to be awesome
The Mobile Friendly Navigation Toolbar is a replacement for the standard administration toolbar that comes with Drupal 7. This administrative toolbar is responsive making it much easier to administer your Drupal website from a tablet or mobile device. There is nothing particularly difficult about the module, however the installation process is a little more complex than most modules. This video walks you through the setup process and shows how to download the necessary libraries to get this module working.
In this episode of the Daily Dose of Drupal we go over the Jammer module. This simply module allows you to show/hide content type elements from various roles. This elements could include author panes, menu panes, comment panes, revision panes, etc.