Back to Drupal exercises for the in-class training
Site Building Exercise
Areas covered
- Drupal Installation
- Site Building
- Blocks and Regions
- Roles and Permissions
- Content Types
- Database Structure
- Contributed Modules
Question 1 : Build a website
Create a website using drupal configuration.
- Primary menu should contain: Home, Blog, News, Gallery, About Us and Contact Us.
- Each user can create blog posts. Blog posts will be listed in blogs page.
- On News page, it will list all content from the site with pagination.
- On Home page, it will show the content that are specifically promoted to front page.
- Gallery
- Create a content type named 'gallery_item' with fields title, image, category, tags and five star rating and featured checkbox
- On Gallery page, it will list all images as thumbnails with title.
- On clicking on thumbnail of any image a popup colorbox will appear showing image in bigger size.
- On clicking the title of an image in Gallery page. It will show the full size image in a separate page with rating, tags and category.
- On gallery page there will a block showing most rated images in smaller thumbnails.
- About Us is a static page give basic detail about the website.
- Using Contact Us page visitor can contact site owners/administrators.
- On home page, just below to the primary menu, there require a slideshow showing all images that have featured checkbox checked.
Create these roles:
* administrators
* authenticated users
* gallery administrators
Assign theses permissions:
* Only administrators can create and edit pages and articles.
* authenticated users can create and edit their own blog posts only
* Only gallery administrators can add and change gallery images.
Question 2 : Simple Multiuser Blog - Configuration only
Create a drupal website with configuration
- Each user can create blog posts and pages.
- Each user will have his/her own blog page.
- On front page it will show blog posts from all users in the order of latest first.
- Blog post can have tags and commenting options.
- On front page, there will be a block showing latest comments from all blog posts.
- On blog page of each user, there will be a block showing latest comments from blogs posts of that particular user.
- On front page and blog pages, 5 items to be shown at time.
- On clicking tag, it should list all items with that tag applied.