Exercise 1: User Management <ul><li>Adjust user settings to require administrator approval of registrations </li></ul><ul>...
Exercise 2: Installing FCKeditor with the built-in file browser <ul><li>Download FCKeditor module from drupal.org version ...
Exercise 3: Selecting and configuring themes <ul><li>Change default theme from Garland to Chameleon and display site; then...
Exercise 4: Blocks <ul><li>Enable the ‘Who’s online’ block and put it  on the left sidebar </li></ul><ul><li>Reposition th...
Exercise 5: Menus <ul><li>Create two simple pages – this is a chance to try out the editor </li></ul><ul><li>Create a new ...
Content Types Setup <ul><li>Copy the following folders from the CD: </li></ul><ul><ul><li>CCK, Date, Filefield, Imagefield...
Exercise 6: Content Types <ul><li>Set Up and enable CCK modules </li></ul><ul><li>Create an exhibit content type with open...
Views Setup <ul><li>Copy ‘Views’ and ‘Advanced Help’ folders from the CD to sites/all/modules </li></ul><ul><li>In admin/m...
Exercise 7: Views <ul><li>Create a new ‘node’ view </li></ul><ul><li>Add a ‘page’ display </li></ul><ul><li>Set path to ‘u...
Calendar Setup <ul><li>Copy ‘calendar’ folder from the CD to sites/all/modules </li></ul><ul><li>Enable calendar modules i...
Exercise 8: Events and Calendar <ul><li>Use the Calendar Wizard to create a new content type called ‘museum_event’ </li></...
Exercise 8: Events and Calendar <ul><li>(optional) Restyle the view by creating a new template file </li></ul><ul><ul><li>...
Upcoming SlideShare
Loading in...5
×

Mw2009 Exercises

458

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
458
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________
  • Mw2009 Exercises

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

      Clipping is a handy way to collect important slides you want to go back to later.

    ×