On this page
Creating a slideshow
Last updated on
11 March 2021
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
This documentation needs work. See "Help improve this page" in the sidebar.
Start with selecting and installing a slideshow module
Create the View
- Go to http://yoursite.com/admin/build/views
- Click Add
- Enter in the view name
- Click Next
- Select the page display from the dropdown
- Click Add Display
- Under Basic settings click on the link next to Use Pager
- Select either "Display specified number of items" or "Display all items"
- Adjust any specific options you would like
- Click update default display
- Click "None" next to Path under Page settings
- Add a path. In this case we'll put slideshow
- Click Update
- Click the + next to fields
-
- Drupal 6
- Under Groups choose Node
- Select Node Body and Node Title
- Drupal 7
- Under Groups choose Fields
- Select Fields: body
- Under Groups choose Node
- Choose Node: Title
- Drupal 6
- Click Add
- Under Rewriting select Trim this field to a maximum length
- Under Maximum length enter 100
- Click Update Default Display twice
- Click the up/down arrows next to fields
- Move Node: Title to the top
- Click Update
- Click the + next to Filters
- Under Groups choose Node
- Select Node: Published and Node: Type
- Click Add
- Select Yes for published
- Click Update Default Display
- Select page/article under Node Type
- Click Update Default Display
- Click Save
- Go to http://yoursite.com/slideshow and verify it is listing out the page/article nodes correctly
Set up the slideshow
- Edit the View
- Click Unformatted next to style under Style Settings.
- Choose Slideshow
- Click Update Default Display
- Under Slideshow mode choose Cycle
- Click Update Default Display
- Click Save
- View the page and verify the slideshow is working.
Setup Pager Fields
- Edit the View
- Click the gear icon next to Slideshow under Style Settings
- Under Widgets check pager box on either or both the top and bottom
- Under Pager Type choose Fields
- Select the field(s) to show for the pager
- Click Update
- Click Save
If you want to show a field in the pager, but not on the main slideshow then add the field you would like under fields in views, but check the box that says "exclude from display".
If you want to have a numeric pager then add the "Global: View result counter" under Fields in views. Make sure you check the box that says "exclude from display".
Help improve this page
Page status: Needs work
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion