SlideShare a Scribd company logo
Exercise 1: User Management Adjust user settings to require administrator approval of registrations Create and access rule to prevent users with a particular email type Check the access rule Create a new role Create a new user Assign the new user to the new role Set permission to create/edit a page for the new role Check permissions by logging in as new user
Exercise 2: Installing FCKeditor with the built-in file browser Download FCKeditor module from drupal.org version compatible for drupal 6 Unzip and untar into sites/all/modules Download fckeditor from http://www.fckeditor.net/download Unzip into sites/all/modules/fckeditor/fckeditor Edit /fckeditor/editor/filemanager/connectors/php/config.php Add after line with ‘global $Config’:  require_once "../../../../../filemanager.config.php"; Change from $Config['Enabled'] = false;  to $Config['Enabled'] = true; Edit sites/default/settings.php Uncomment $cookie_domain and set it to the appropriate domain (in this case – localhost) Enable the FCKeditor module in drupal administration Set permissions for the module under drupal user management Edit the default profile under admin/settings/fckeditor/edit/Default Under ‘Basic Setup’, check the roles that can use the editor Under ‘File Browser type’, select ‘Built-in Filebrowser’ and set ‘allow quick uploads’ to true
Exercise 3: Selecting and configuring themes Change default theme from Garland to Chameleon and display site; then change back to Garland Configure Garland (recolorable theme): Select a different color set, save and display Change to custom color set  Select some custom colors Upload a new logo (mhm-blue_sm.jpg) and new icon (favicon.ico), select ‘site name’, ‘site slogan’, ‘mission’ Go to ‘Site Configuration’/’Site Information’ and add text for site name, slogan, and mission – display site
Exercise 4: Blocks Enable the ‘Who’s online’ block and put it  on the left sidebar Reposition the ‘Who’s Online’ block so that it is on the top of the left sidebar Configure the ‘Who’s Online’ Block so that it only shows on admin pages Create a new block with links to google and yahoo and place it in the header region.
Exercise 5: Menus Create two simple pages – this is a chance to try out the editor Create a new menu Add one of the pages you created to the menu Place the menu in the left sidebar Open the other page you created and add it to the menu
Content Types Setup Copy the following folders from the CD: CCK, Date, Filefield, Imagefield, mimedetect, and token Paste folders into sites/all/modules Go to admin/modules and enable all new modules Run update.php (link to it is at the top of admin/modules)
Exercise 6: Content Types Set Up and enable CCK modules Create an exhibit content type with opening and closing dates Create 3-4 exhibits Create a tour content type with tour date, and a reference to one or more exhibits Create one or more tours with references to exhibits (optional) Copy node.tpl.php to node-exhibit.tpl.php and modify it
Views Setup Copy ‘Views’ and ‘Advanced Help’ folders from the CD to sites/all/modules In admin/modules, enable ‘Views’ and ‘Advanced Help’ modules Run update.php
Exercise 7: Views Create a new ‘node’ view Add a ‘page’ display Set path to ‘upcoming_exhibits’ Set formatting to ‘table’ Add fields: title and opening_date Filter by node:type = exhibit Filter by opening_date in the future (optional) show only exhibits with associated tours
Calendar Setup Copy ‘calendar’ folder from the CD to sites/all/modules Enable calendar modules in the ‘Date’ group Run update.php Configure date and time in admin/Site Configuration/Date and Time
Exercise 8: Events and Calendar Use the Calendar Wizard to create a new content type called ‘museum_event’ Add a field called ‘category’ as a select list –categories: ‘music’, ‘books’, and ‘family’ Create a few events at various dates and times and view the calendar Edit the date_browser view Change style to ‘table’ Add fields: title and date Change argument to Content:Date
Exercise 8: Events and Calendar (optional) Restyle the view by creating a new template file Start by inspecting ‘Theme information’ for the ‘page’ display Copy the code for the default style output Save the code to a file named  view-table--date-browser--page.tpl.php  in sites/all/themes/mhm Modify the code to show the appropriate icon for each category

More Related Content

DOCX
Combined
PPT
How To Create A Wiki Using Pbwiki2
PDF
Wordpress handout
PDF
Wordpress handout
PPT
Frog vle panitia
PDF
How to create a blog
PPTX
Using the add multiple users plugin
DOC
Combined
How To Create A Wiki Using Pbwiki2
Wordpress handout
Wordpress handout
Frog vle panitia
How to create a blog
Using the add multiple users plugin

Similar to Mw2009 Exercises (20)

PPT
Intro To Drupal For Museums
PPTX
6 Special Howtos for Drupal
PDF
Drupal for Webmasters by Brett Baker
PDF
Drupal Front End PHP
PPTX
Creating Awesome Admin Experience
DOC
AIESEC CMS - User guide
PPT
Synapse india reviews on drupal intro
PPTX
Getting Started with Drupal
PPTX
Getting Started with Drupal
PPT
Drupal nagw
PPTX
Drupal For Dummies
PDF
Discover Drupal preview
PDF
Drupal kickstart-workshop
PDF
Drupal training-by-ruchiwebsolutions
PPT
Getting Started with Drupal
PDF
Drupal Roadmap 2010
PDF
Staging Drupal 8 31 09 1 3
PDF
GDI WordPress 2 January 2012
PDF
Learning PHP for Drupal Theming, DC Chicago 2009
Intro To Drupal For Museums
6 Special Howtos for Drupal
Drupal for Webmasters by Brett Baker
Drupal Front End PHP
Creating Awesome Admin Experience
AIESEC CMS - User guide
Synapse india reviews on drupal intro
Getting Started with Drupal
Getting Started with Drupal
Drupal nagw
Drupal For Dummies
Discover Drupal preview
Drupal kickstart-workshop
Drupal training-by-ruchiwebsolutions
Getting Started with Drupal
Drupal Roadmap 2010
Staging Drupal 8 31 09 1 3
GDI WordPress 2 January 2012
Learning PHP for Drupal Theming, DC Chicago 2009
Ad

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
cuic standard and advanced reporting.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Cloud computing and distributed systems.
PPT
Teaching material agriculture food technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Building Integrated photovoltaic BIPV_UPV.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Dropbox Q2 2025 Financial Results & Investor Presentation
MIND Revenue Release Quarter 2 2025 Press Release
gpt5_lecture_notes_comprehensive_20250812015547.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Big Data Technologies - Introduction.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Electronic commerce courselecture one. Pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Chapter 3 Spatial Domain Image Processing.pdf
sap open course for s4hana steps from ECC to s4
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
cuic standard and advanced reporting.pdf
Programs and apps: productivity, graphics, security and other tools
Cloud computing and distributed systems.
Teaching material agriculture food technology
Advanced methodologies resolving dimensionality complications for autism neur...
Ad

Mw2009 Exercises

  • 1. Exercise 1: User Management Adjust user settings to require administrator approval of registrations Create and access rule to prevent users with a particular email type Check the access rule Create a new role Create a new user Assign the new user to the new role Set permission to create/edit a page for the new role Check permissions by logging in as new user
  • 2. Exercise 2: Installing FCKeditor with the built-in file browser Download FCKeditor module from drupal.org version compatible for drupal 6 Unzip and untar into sites/all/modules Download fckeditor from http://www.fckeditor.net/download Unzip into sites/all/modules/fckeditor/fckeditor Edit /fckeditor/editor/filemanager/connectors/php/config.php Add after line with ‘global $Config’: require_once "../../../../../filemanager.config.php"; Change from $Config['Enabled'] = false; to $Config['Enabled'] = true; Edit sites/default/settings.php Uncomment $cookie_domain and set it to the appropriate domain (in this case – localhost) Enable the FCKeditor module in drupal administration Set permissions for the module under drupal user management Edit the default profile under admin/settings/fckeditor/edit/Default Under ‘Basic Setup’, check the roles that can use the editor Under ‘File Browser type’, select ‘Built-in Filebrowser’ and set ‘allow quick uploads’ to true
  • 3. Exercise 3: Selecting and configuring themes Change default theme from Garland to Chameleon and display site; then change back to Garland Configure Garland (recolorable theme): Select a different color set, save and display Change to custom color set Select some custom colors Upload a new logo (mhm-blue_sm.jpg) and new icon (favicon.ico), select ‘site name’, ‘site slogan’, ‘mission’ Go to ‘Site Configuration’/’Site Information’ and add text for site name, slogan, and mission – display site
  • 4. Exercise 4: Blocks Enable the ‘Who’s online’ block and put it on the left sidebar Reposition the ‘Who’s Online’ block so that it is on the top of the left sidebar Configure the ‘Who’s Online’ Block so that it only shows on admin pages Create a new block with links to google and yahoo and place it in the header region.
  • 5. Exercise 5: Menus Create two simple pages – this is a chance to try out the editor Create a new menu Add one of the pages you created to the menu Place the menu in the left sidebar Open the other page you created and add it to the menu
  • 6. Content Types Setup Copy the following folders from the CD: CCK, Date, Filefield, Imagefield, mimedetect, and token Paste folders into sites/all/modules Go to admin/modules and enable all new modules Run update.php (link to it is at the top of admin/modules)
  • 7. Exercise 6: Content Types Set Up and enable CCK modules Create an exhibit content type with opening and closing dates Create 3-4 exhibits Create a tour content type with tour date, and a reference to one or more exhibits Create one or more tours with references to exhibits (optional) Copy node.tpl.php to node-exhibit.tpl.php and modify it
  • 8. Views Setup Copy ‘Views’ and ‘Advanced Help’ folders from the CD to sites/all/modules In admin/modules, enable ‘Views’ and ‘Advanced Help’ modules Run update.php
  • 9. Exercise 7: Views Create a new ‘node’ view Add a ‘page’ display Set path to ‘upcoming_exhibits’ Set formatting to ‘table’ Add fields: title and opening_date Filter by node:type = exhibit Filter by opening_date in the future (optional) show only exhibits with associated tours
  • 10. Calendar Setup Copy ‘calendar’ folder from the CD to sites/all/modules Enable calendar modules in the ‘Date’ group Run update.php Configure date and time in admin/Site Configuration/Date and Time
  • 11. Exercise 8: Events and Calendar Use the Calendar Wizard to create a new content type called ‘museum_event’ Add a field called ‘category’ as a select list –categories: ‘music’, ‘books’, and ‘family’ Create a few events at various dates and times and view the calendar Edit the date_browser view Change style to ‘table’ Add fields: title and date Change argument to Content:Date
  • 12. Exercise 8: Events and Calendar (optional) Restyle the view by creating a new template file Start by inspecting ‘Theme information’ for the ‘page’ display Copy the code for the default style output Save the code to a file named view-table--date-browser--page.tpl.php in sites/all/themes/mhm Modify the code to show the appropriate icon for each category

Editor's Notes

  • #2: _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________