Drupal lernen aber wo ? Hier Die Antwort.
Four weeks of Drupal
This document contains notes and links for the Drupal course held at Nackademin December 2011–January 2012. The course is held by Johan Falk (johan@vaxjonexus.com), NodeOne.
This document can be found at http://tinyurl.com/drupalatnackademin.
Four weeks of Drupal
Overview
Schedule and resource links
General resources
Week 1, day 1, morning: About Drupal + installing Drupal
What is Drupal?
Installing Drupal
Week 1, day 1, afternoon: Content management
Content management and other editor skills
Week 1, day 2: Content types, fields, images and entities
Managing content types, entities, fields and images
The entity reference field
Week 1, day 3: The Views module introduced
Basic Views configuration
Intermediate Views configuration
Week 2, day 1: Advanced Views configuration + Features
Advanced Views configuration
The Features module
Week 2, day 2 – morning: Additional Views modules
Week 2, day 2 – afternoon: The Flag module
Week 2, day 3: The Rules module (biggie!)
Week 3, day 1: The Page manager and Panels modules (biggies!)
Week 3, day 2: Creating a module
Week 3, day 3: Theming, part 1
Week 4, day 1: Theming, part 2
Week 4, day 2: Spare time!
Week 4, day 3: Show time
Examination: individual site project
The grade “godkänt”
The grade “väl godkänt”
A fallback project
Some more learning resources
Non-english sites
Logging in when you locked yourself out
Tips when designing for Drupal
Overview
This course will introduce you to the Drupal content management system, train you in the most important Drupal frameworks, and scratch the surface of how to write Drupal modules and create Drupal themes.
During the last three weeks of the course you will be working with your own web site project, implementing some of the techniques covered by this course. This site will constitue your examination, and all sites will be displayed on the last day of the course. (See separate section for details about how the sites are evaluated.)
Schedule and resource links
General resources
All parts of this course, except module coding and theming, are covered by the books “Drupal 7: börja här” and “Drupal 7 – the Essentials” (which are basically Swedish and English versions of the same books).
Drupal-related questions are most welcome at http://groups.drupal.org/sweden. Tag your question 4 weeks of Drupal, and it will be noticed by the teacher on the feed http://groups.drupal.org/taxonomy/term/65323.
Facebook group for this course: http://www.facebook.com/groups/286603891388072/. Use for course-specific questions and general discussion.
A lot of Drupal tutorials can be found at http://dev.nodeone.se/en/learning-library.
More Drupal tutorials can be found at http://tutr.tv/.
An additional set of Drupal exercises, on (almost) the same topics as this course can be found at http://dev.nodeone.se/en/the-documentation-site-exercise-suite.
An evaluation form for this course can be found here: http://tinyurl.com/drupalatnackademin-eval
Week 1, day 1, morning: About Drupal + installing Drupal
What is Drupal?
Tutorials on this topic
http://dev.nodeone.se/en/what-is-drupal
http://dev.nodeone.se/en/drupal-is-open-source
http://dev.nodeone.se/en/drupal-is-a-community
http://dev.nodeone.se/en/drupal-lingo
Useful links
http://groups.drupal.org/sweden
http://drupal.org/getting-involved
http://drupal.org/irc (in particular the channel #drupal-se)
Installing Drupal
Tutorials on this topic
http://dev.nodeone.se/en/installing-drupal-on-webenabled
http://dev.nodeone.se/en/installing-a-module
http://dev.nodeone.se/en/some-standard-modules
http://dev.nodeone.se/en/uninstalling-modules
http://dev.nodeone.se/en/accessing-file-system-on-a-webenabled-site
Moving a Drupal site (for example exporting from WebEnabed): http://vimeo.com/nodeone/review/34523853/ea4a9f79a7
Useful external links
Installing locally with Acquia stack installer: http://tutr.tv/t70
Installing locally on Mac: http://tutr.tv/t295
More videos on Drupal installation: http://tutr.tv/search/apachesolr_search/installing?filters=tid%3A10
Week 1, day 1, afternoon: Content management
Content management and other editor skills
Tutorials on this topic
Learn Drupal 7 with NodeOne, episodes 1–9: http://dev.nodeone.se/en/learn-drupal-7-with-nodeone
Useful extra information
Installing new modules (Devel generate): http://dev.nodeone.se/en/installing-a-module
Exercises can be found in written form on dev.nodeone.se: http://dev.nodeone.se/en/the-boss-exercise-suite. Recorded exercises and solutions can be found here:
Posting to front page: http://dev.nodeone.se/en/create-an-article
Creating revisions:
http://vimeo.com/nodeone/review/33475429/74b2bad8d6, http://vimeo.com/nodeone/review/33475513/205b1238fc
Customize teaser
http://vimeo.com/nodeone/review/33475691/9be2972f23, http://vimeo.com/nodeone/review/33475717/753aebe2ae
Nice URL
http://vimeo.com/nodeone/review/33476116/b05f6bac02, http://vimeo.com/nodeone/review/33476152/3febce2f12
Unpublished content
http://vimeo.com/nodeone/review/33476238/2358c846ac, http://vimeo.com/nodeone/review/33476300/56b786c6aa
Change post date
http://vimeo.com/nodeone/review/33476827/70281e1006, http://vimeo.com/nodeone/review/33476847/20374c8227
Mass update content + Devel generate
http://vimeo.com/nodeone/review/33485761/fe69f68b04, http://vimeo.com/nodeone/review/33486861/17c4b02f90, http://vimeo.com/nodeone/review/33486925/e5d24fa691
Change default settings for content types
http://vimeo.com/nodeone/review/33495732/ee51f1803a, http://vimeo.com/nodeone/review/33495919/adfd5eb838
Comment administration
http://vimeo.com/nodeone/review/33498562/b8c5eeb2cb,
http://vimeo.com/nodeone/review/33498872/1a69375f58
User accounts
http://vimeo.com/nodeone/review/33499153/f57c41b769, http://vimeo.com/nodeone/review/33499255/19b164a310
Roles and permissions
http://vimeo.com/nodeone/review/33499348/19b563d2be, http://vimeo.com/nodeone/review/33499411/99f9597720
Blocks and regions
http://vimeo.com/nodeone/review/33501148/7ec75f1afc, http://vimeo.com/nodeone/review/33501388/89f9ccceb5
Block visibility 1
http://vimeo.com/nodeone/review/33517889/90062ba55d, http://vimeo.com/nodeone/review/33517947/569d727620
Custom blocks
http://vimeo.com/nodeone/review/33518055/a73da72eb7, http://vimeo.com/nodeone/review/33518179/9fb89809a0
Block titles
http://vimeo.com/nodeone/review/33518961/ea3ff0dc78, http://vimeo.com/nodeone/review/33519019/5b62f85bd0
Moving blocks
http://vimeo.com/nodeone/review/33519077/ef393ce999, http://vimeo.com/nodeone/review/33519133/fd43183289
Adding menu links
http://vimeo.com/nodeone/review/33522168/787ed9b9c7, http://vimeo.com/nodeone/review/33522243/a031ad535e
Secondary links
http://vimeo.com/nodeone/review/33522701/2ea04fa6c1, http://vimeo.com/nodeone/review/33524031/5cbaed6cce
Arbitrary menu links
http://vimeo.com/nodeone/review/33524381/7fe30b20cd, http://vimeo.com/nodeone/review/33525495/6ec354c6a8
Expanded menu items
http://vimeo.com/nodeone/review/33529049/c0cee29c91, http://vimeo.com/nodeone/review/33529171/54a91be110
Text formats
http://vimeo.com/nodeone/review/33529398/8a650fd103, http://vimeo.com/nodeone/review/33529547/a385e4453d
Week 1, day 2: Content types, fields, images and entities
Managing content types, entities, fields and images
Tutorials
Learn Drupal 7 with NodeOne, episodes 11–15: http://dev.nodeone.se/en/learn-drupal-7-with-nodeone
Useful links
http://dev.nodeone.se/en/some-standard-modules (some standard modules: admin_menu, module_filter, devel)
http://dev.nodeone.se/en/uninstalling-modules (uninstalling modules)
Exercises: Content types, entities and fields (intro here: http://dev.nodeone.se/en/introduction-to-chapter-4)
Product content type
http://vimeo.com/nodeone/review/33580965/64ccd38cba, http://vimeo.com/nodeone/review/33581039/6dfb25ef05
Product number field
http://vimeo.com/nodeone/review/33581904/c532e9f07f, http://vimeo.com/nodeone/review/33581960/84d826e5dc
Product image
http://vimeo.com/nodeone/review/33582096/7bae26ffd4, http://vimeo.com/nodeone/review/33582478/bfde117dc3
Product categories
http://vimeo.com/nodeone/review/33582985/378ccef330, http://vimeo.com/nodeone/review/33583024/40300746a7
Fields on accounts
http://vimeo.com/nodeone/review/33583445/48bb9e1a8a, http://vimeo.com/nodeone/review/33583479/5bdc6f126c
Press release content type
http://vimeo.com/nodeone/review/33583704/8246eda077, http://vimeo.com/nodeone/review/33583791/dbf742a263
Using comments as reviews
http://vimeo.com/nodeone/review/33583990/822d0532ad, http://vimeo.com/nodeone/review/33584087/05e784d453
The entity reference field
Tutorials
Using the reference modules, episodes 5–6: http://dev.nodeone.se/en/using-the-reference-modules
Exercises (continued from previous section)
Contact person reference
http://vimeo.com/nodeone/review/33584265/f94aeb0613, http://vimeo.com/nodeone/review/33584382/8a5d4d042a
Product reference
http://vimeo.com/nodeone/review/33584623/e9302e7de2, http://vimeo.com/nodeone/review/33584735/05f5d5ca80
Week 1, day 3: The Views module introduced
Basic Views configuration
Tutorials
Taming the Beast – learn Views with NodeOne, episodes 1–10: http://dev.nodeone.se/en/taming-the-beast-learn-views-with-nodeone
Exercises
Press release list
http://vimeo.com/nodeone/review/33584970/286936b276, http://vimeo.com/nodeone/review/33585099/29d4bfd7df
Press release block
http://vimeo.com/nodeone/review/33585308/4f7c58c325, http://vimeo.com/nodeone/review/33585370/20063eae64
Press release block 2
http://vimeo.com/nodeone/review/33585654/f17897e570, http://vimeo.com/nodeone/review/33585761/a4d017d0e2
RSS attachment
http://vimeo.com/nodeone/review/33585974/c61815cda7, http://vimeo.com/nodeone/review/33586067/20e895a851
Access in Views
http://vimeo.com/nodeone/review/33586236/ea2983b7da, http://vimeo.com/nodeone/review/33586360/cd6b64f85d
Contact list
http://vimeo.com/nodeone/review/33586816/e57240f165, http://vimeo.com/nodeone/review/33586896/0f4005f61e
Intermediate Views configuration
Tutorials
Taming the Beast – learn Views with NodeOne, episodes 14–18 and 25: http://dev.nodeone.se/en/taming-the-beast-learn-views-with-nodeone
Exercises
Grouping fields
http://vimeo.com/nodeone/review/33587258/209c3f7d59, http://vimeo.com/nodeone/review/33587472/6902d84cf5
Exposed filters 1
http://vimeo.com/nodeone/review/33587962/d2588bd214, http://vimeo.com/nodeone/review/33588026/8e6d25c7a8
Exposed filters 2
http://vimeo.com/nodeone/review/33588460/0fd6f6c10a, http://vimeo.com/nodeone/review/33588548/aa0eeaf81a
Week 2, day 1: Advanced Views configuration + Features
Advanced Views configuration
Tutorials
Taming the Beast – learn Views with NodeOne, episodes 11–13 and 19–30: http://dev.nodeone.se/en/taming-the-beast-learn-views-with-nodeone
Exercises
Tab with user content
http://vimeo.com/nodeone/review/33588889/f98141d140, http://vimeo.com/nodeone/review/33588956/263cadd41c
Sub tab with comments (tricky – see http://nodeone.se/blogg/learn-views-with-nodeone-part-22-default-menu-tabs for hints)
http://vimeo.com/nodeone/review/33589308/b93d2088c2, http://vimeo.com/nodeone/review/33589357/2332f00b4b
Block with contact person (requires exercise 8, week 1, day 2)
http://vimeo.com/nodeone/review/33589685/7cec39de04, http://vimeo.com/nodeone/review/33590083/c1fe43ba80
Related products (requires exercise 9, week 1, day 2)
http://vimeo.com/nodeone/review/33590558/12fc59ee4a, http://vimeo.com/nodeone/review/33590748/f70bb0ded3
Related press releases (requires exercise 9, week 1, day 2)
http://vimeo.com/nodeone/review/33592153/f1549158f6, http://vimeo.com/nodeone/review/33592415/b6f9e10c85
Aggregating product reviews (bonus exercise!) (requires exercise 7, week 1, day 2)
http://vimeo.com/nodeone/review/33593698/8b57d4a0ea, http://vimeo.com/nodeone/review/33593968/b37ca472b3
The Features module
Tutorials
Configuration management, the staging problem and Features: http://vimeo.com/nodeone/review/33601534/2ba2c9ccd2
Creating a feature: http://vimeo.com/nodeone/review/33602289/f4d1bc5b78
Reverting features: http://vimeo.com/nodeone/review/33644299/e5ee92c79c
Updating features: http://vimeo.com/nodeone/review/33644489/1f645c3448
Making features the right way: http://vimeo.com/nodeone/review/33644682/a6575c0a18
Limitation of Features: http://vimeo.com/nodeone/review/33644846/5e74f99d25
Useful related videos
Accessing the file system on a WebEnabled site: http://vimeo.com/nodeone/review/34217449/2d18a89177
Exercises
No recorded exercises, but please try exporting content types and views.
Week 2, day 2 – morning: Additional Views modules
(This section has been compressed to make more room for theming.)
Tutorials
Introducing Views Bulk Operations: http://dev.nodeone.se/en/introducing-views-bulk-operations
More about VBO: http://dev.nodeone.se/en/more-details-about-vbo-settings
DraggableViews: http://vimeo.com/nodeone/review/34218946/c11bcb9800
Views Accordion: http://vimeo.com/nodeone/review/34219091/9b1288db51
Views Slideshow: http://vimeo.com/nodeone/review/34219860/5da16564e7
XML Views: http://vimeo.com/nodeone/review/34221691/faa5dd2c79
More on Views backend plugins: http://vimeo.com/nodeone/review/34284913/ce46e57e93
Bonus for the interested – Entity Views Attachments: http://dev.nodeone.se/en/list-group-content-with-entity-views-attachment
Exercises
Simple file management tools
http://vimeo.com/nodeone/review/34288477/2a511418d9, http://vimeo.com/nodeone/review/34288563/604750f064
Manage content per tag
http://vimeo.com/nodeone/review/34289870/c3501f4d6a, http://vimeo.com/nodeone/review/34289923/c408495d93
Contextual-sensitive comment accordion block
http://vimeo.com/nodeone/review/34291322/d03c72b9dc, http://vimeo.com/nodeone/review/34291262/57b719d9ff
Presentation of sections
http://vimeo.com/nodeone/review/34292565/a8ae2a7e74, http://vimeo.com/nodeone/review/34292622/35d403b84e
Week 2, day 2 – afternoon: The Flag module
(This section has been compressed to make more room for theming.)
Tutorials
Learn Flag with NodeOne, episodes 1–5 and 8: http://dev.nodeone.se/en/learn-flag-with-nodeone
Exercises
Flag friends: http://dev.nodeone.se/en/flag-friends
List content created by friends: http://dev.nodeone.se/en/list-all-content-created-by-friends
Week 2, day 3: The Rules module (biggie!)
Tutorials (basic Rules concepts)
Learn the Rules framework, episodes 1–13 http://dev.nodeone.se/en/learn-the-rules-framework
Exercises
"Add another" link
http://vimeo.com/nodeone/review/34326655/54b1ad1634, http://vimeo.com/nodeone/review/34327060/95cb8fa388
Promote to front page for a selected tag
http://vimeo.com/nodeone/review/34327136/051b526196, http://vimeo.com/nodeone/review/34327213/23d5256d57
Let press release author be default contact person (not yet recorded): When press releases are created, and the contact person field is left empty, the contact person should be set to the node author.
http://vimeo.com/nodeone/review/34550519/1ec3101d11, http://vimeo.com/nodeone/review/34550672/8d06df6a91
(Creating simple back links: http://dev.nodeone.se/en/creating-simple-back-links)
Notify other author
http://vimeo.com/nodeone/review/34330408/42a4a9986f, http://vimeo.com/nodeone/review/34330575/070c6f5550
Flag discussions to follow: http://dev.nodeone.se/en/flag-discussions-to-follow
Delete orphan tags II
http://vimeo.com/nodeone/review/34361766/fd513e93db, http://vimeo.com/nodeone/review/34361848/03500e6ce7
More tutorials (Rules Scheduler + Views Bulk Operations)
Learn the Rules framework, episodes 14–19 http://dev.nodeone.se/en/learn-the-rules-framework
More exercises
Mass remove tag "news"
http://vimeo.com/nodeone/review/34361891/14b28930cd, http://vimeo.com/nodeone/review/34361958/49db3fc5c4
Scheduled removing of tag "news"
http://vimeo.com/nodeone/review/34362008/ee3ffa646c, http://vimeo.com/nodeone/review/34362125/cf016ef637
Bonus: Schedule front page publishing: http://dev.nodeone.se/en/schedule-front-page-publishing
Week 3, day 1: The Page manager and Panels modules (biggies!)
(This session has been moved from week 3 day 2, to allow to perhaps extend the theming with another day.)
Tutorials
Learn Page manager!, episodes 1–10 and 12–13: http://dev.nodeone.se/en/learn-page-manager
Exercises
Introduction to these exercises: http://vimeo.com/nodeone/review/34562048/b4238fc8d3
Home page with two columns
http://vimeo.com/nodeone/review/34562284/0515cca105, http://vimeo.com/nodeone/review/34562373/4f19a0b466
Conditioned information on front page
http://vimeo.com/nodeone/review/34562446/a9a6463dd6, http://vimeo.com/nodeone/review/34562555/256f5111c4
Panel variant for articles
http://vimeo.com/nodeone/review/34562655/6878a66525, http://vimeo.com/nodeone/review/34562835/b56e9eb998
Adding author context
http://vimeo.com/nodeone/review/34563001/56ef3a001e, http://vimeo.com/nodeone/review/34563104/3e3ac0851b
Articles by same author
http://vimeo.com/nodeone/review/34563302/e69ab66fae, http://vimeo.com/nodeone/review/34563395/04b6c513d9
OTHER articles by same author
http://vimeo.com/nodeone/review/34563501/3b43def90a, http://vimeo.com/nodeone/review/34563659/d0e82739f7
Articles with the same tag(s)
http://vimeo.com/nodeone/review/34563713/658ebd9005, http://vimeo.com/nodeone/review/34563855/a371578c0f
Week 3, day 2: Creating a module
Tutorials
Overview: http://vimeo.com/nodeone/review/34456175/75a7e62fc8
The environment: http://vimeo.com/nodeone/review/34456269/33ae699b5b
Creating an empty module: http://vimeo.com/nodeone/review/34456362/39f518388a
hook_menu: http://vimeo.com/nodeone/review/34456488/20f6ef0f4f
Introducing form API: http://vimeo.com/nodeone/review/34456992/1d9219357e
Taking care of form data: http://vimeo.com/nodeone/review/34457088/c435c66c31
Cleanup of save function: http://vimeo.com/nodeone/review/34457207/87ab1778d0
hook_entity_property_info_alter: http://vimeo.com/nodeone/review/34457567/66ff9cd543
Word list condition: http://vimeo.com/nodeone/review/34458560/3d4fc6ba50
Creating an example feature: http://vimeo.com/nodeone/review/34458648/317fce2a88
Oops, I forgot hook_uninstall: http://vimeo.com/nodeone/review/34458715/da1ddb5b15
Exercises for those who want it
http://dev.nodeone.se/en/the-make-it-so-module
http://dev.nodeone.se/en/custom-module-hide-a-field
http://dev.nodeone.se/en/the-math-question-module
Week 3, day 3: Theming, part 1
Tutorials
Overview: http://vimeo.com/nodeone/review/35133646/ba9ae8cbdc
About themes: http://vimeo.com/nodeone/review/35139513/6fb35d6481
Creating sub themes (customizing CSS): http://vimeo.com/nodeone/review/35139870/68b6c1f138
Regions (customizing page layout): http://vimeo.com/nodeone/review/35140142/1fa57a99d5
Template files (customizing markup): http://vimeo.com/nodeone/review/35140346/4909a62c23
Preprocessing, part 1 (adding variables to templates): http://vimeo.com/nodeone/review/35141109/f209a0f668
Week 4, day 1: Theming, part 2
Tutorials
Preprocessing, part 2 (altering template variables, calling theme-related functions): http://vimeo.com/nodeone/review/35141309/0f4c37ad10
Theme functions (when templates aren’t used): http://vimeo.com/nodeone/review/35141677/4b7b03fbc0
Templates and theme functions: http://vimeo.com/nodeone/review/35142110/c4b9cc7e71
Theming Views (example/special case): http://vimeo.com/nodeone/review/35142513/d6c92f27a7
Render elements and arrays (theory): http://vimeo.com/nodeone/review/35142992/995b290608
Theming forms (introduction only): http://vimeo.com/nodeone/review/35143098/c0a7999543
The #states property (example/special case): http://vimeo.com/nodeone/review/35143453/cec20c6306
Week 4, day 2: Spare time!
General questions and answers, relating to individual projects
Week 4, day 3: Show time
Show time for individual projects!
Examination: individual site project
There is a great demand for Drupal talent among web develppment companies. The content of this course is selected to match this demand as far as possible in four weeks. Passing this course means that you have the skills required to do basic Drupal development, and to continue to learn more advanced Drupal skills on your own.
The examination consists of the site that each course participant will be building and completing during the last week of the course. You are encouraged to start thinking about – and working with – a possible project as soon as possible.
When planning your project, you may find the following blog post useful: http://dev.nodeone.se/en/drupalizing-a-web-project. If you don’t have any fitting project ideas, you are welcome to use the project idea described at the end of this section.
It is necessary that I can access the website you build. This means that you will either have to place it on a (publicly) accessible server, or send me a dump of database and file structure for the site.
The grade “godkänt”
The grade “godkänt” requires that you build and present a web site that works well for the end user. It should also have the following components/properties:
configuration that, for most parts, is exported to code (see week 2 day 1: Features)
at least one additional content type (see week 1 day 2)
at least one reference field (see week 1 day 2)
at least one view with two different displays (being used) (see week 1 day 3)
at least one view using relationships (see week 2 day 1: advanced Views)
at least one view with a contextual filter (see week 2 day 1: advanced Views)
documentation describing the target group and the main functionality of the website. This documentation should allow a reasonably experience Drupal developer (i.e. the teacher) to understand what the site does and how to explore the functionality you added to it. (Documentation can for example be in the form of text and images.)
At least 4 of the following components:
configuration completely exported to code (see week 2 day 1: Features)
one global flag (see week 2 day 2: Flag)
one non-global flag (see week 2 day 2: Flag)
one reaction rule (see week 2 day 3)
a Rules component used by Views Bulk Operations (see week 2 day 3 + week 2 day 2: additional Views modules)
a Rules component used by Rules Scheduler (see week 2 day 3)
a custom page in Page manager using arguments (see http://dev.nodeone.se/en/learn-page-manager-part-8-menu-items-and-access...)
a custom page in Page manager using relationships or manually added context (see week 3 day 1)
a custom page in Page manager using more than one variant or access rules (see week 3 day 1 or http://dev.nodeone.se/en/learn-page-manager-part-8-menu-items-and-access...)
a panel using visibility rules (see week 3 day 1)
a panel using a Views content pane (see week 3 day 1)
a sub theme with customized CSS (see week 3 day 3)
a sub theme with a customized template file (see week 3 day 3)
a form being altered by a custom module or theme (see week 4 day 1)
Note that you are free to use any additional modules or technology, if you want to. The factors evaluated are the ones listed below, so failing misarably in making the Calendar module work (for example) won’t lower any grades. Nice solutions might be a plus, though. :-)
The grade “väl godkänt”
The grade “väl godkänt” requires that the conditions for “godkänt” are satisfied, and also that another five of the items under criteria 8 above are fulfilled. You have an option to replace these items with writing documentation for either end users or developers/maintainers of the site. Documentation for one of these groups counts as one item in criteria 8. Documentation for both these groups counts as three items in criteria 8.
Some notes about the documentation:
Documentation for end users should be adapted to the expected skill level of the end users, and should generally be characterized by high readability. Documentation for general web skills (logging in, requesting new password, searching, etc.) does not have to be documented – the focus of the documentation should be on the functionality that is specific for your site.
Documentation for developers/site maintainers should describe all the configuration that is not apparent for a reasonably trained Drupal developer – assume that all configuration covered by the grading criteria should be documented.
(In this setting, “developers/maintainers” should be understood as people who will take care of site development, upgrades, bug hunting, performance improving and so on. These need to know what configuration you have added, not only the end-user functionality. Thus, “there is a list of new on the front page” is not enough, but “the front page consists of a Page manager custom page with a view content pane and two static messages” is better.)
Documentation can for example be made in text and images, but other media works as well.
Some comments about “exported configuration”
I must be able to access your website in its whole, either as an online installation and a link you send me, or by you sending me a dump of site files and database (see first section under “Examination: individual site project”). This is not an export of site configuration.
Exporting site configuration is, by most Drupal developers, done by using the Features module. The Features module is described in the videos for 2nd half of week 2 day 1.
To fulfil the first criteria for “godkänt”, you do not have to export all settings on your site (nor all all of the configuration that can be exported with Features). The following steps will be sufficient to fulfil criteria 1:
Download and install the Features and Strongarm modules.
Go to structure > Features > create feature and search the “edit component” dropdown. Add all of the content types, image styles, flags, rules configuration, page manager pages/variants and views that you have created on the site. (It is quite all right to disregard the “dependencies”, “menu items” and “strongarm” components!)
Give your feature a name and description, and download it.
Extract the downloaded module and place it in sites/all/modules.
Enable the newly available feature. Done!
Criteria 8a, to have all configuration completely exported is a very difficult task. This is something that experienced Drupal developers try hard to do, and often have to find special solutions to accomplish. One of the reasons for this is that block settings cannot be exported with Features.
A fallback project
If the project ideas you come up with yourself seem difficult to implement within the frame of this course, feel free to use the project described at http://dev.nodeone.se/en/an-example-project-to-build.
(Feel free to tweak the project in any way you like, as long as your implmentation of it meets the grading criteria.)
Some more learning resources
This section collects some links and stuff that may be useful when working with your own projects. It only contains topics that are not covered in the course.
Non-english sites
http://www.lullabot.com/articles/localized-and-multi-lingual-content-dru...
Logging in when you locked yourself out
If you logged out and the login block is gone, you can always go to /user and find a login page.
If you are logged as non-administrator and can’t find a link to log out, you can always go to /user/logout to log out.
If you lost your password and for any reason can’t get an e-mail with a one-time login link, you can try edit your database directly. Go to the database, open the table “users” and edit the enty for user 1. In the password hash, you can paste in the following:
$S$DB.Tfr9RcoFRqp.PO4AVZGSUfJ5JmeQ9edkqHJygrLBXKvobi1j2
This is the hash for a password “root”. Once this is set, log in with the password “root” and change the password for account 1 to something else.
Tips when designing for Drupal
http://www.advomatic.com/blogs/amanda-luker/designing-drupal-dos-and-donts
http://www.chapterthree.com/blog/nica_lorber/design_drupal_template_appr...
- Anmelden oder Registrieren um Kommentare zu schreiben

Neue Kommentare
vor 2 Wochen 5 Tagen
vor 2 Wochen 6 Tagen
vor 3 Wochen 10 Stunden
vor 3 Wochen 4 Tagen
vor 3 Wochen 4 Tagen
vor 4 Wochen 2 Tagen
vor 4 Wochen 2 Tagen
vor 4 Wochen 2 Tagen
vor 6 Wochen 5 Tagen
vor 6 Wochen 6 Tagen