Edit a view

When editing a view without javascript one get this.

Views Add

When adding a views on has to decide what this view is about. What content do you want to display. Is it basically a node? Or a term. The basic idea is "What is your primary table". And is it possible to grab all related content with it?
free form: 


What is a (web)page? A page contains some designated content and some blocks spread around that content. And how do views fix in? We will walk through the attached mindmap.
Now it becomes messy :( ... how to explain the walk trough?!?
../all/modules/drush/drush --uri=drupaljam.demo sql cli
select path from menu_router;

Generate content

  1. Generate vocabularies and terms using admin/generate/taxonomy
  2. Generate users using admin/generate/user
  3. Generate nodes using admin/generate/content
    • 5 group nodes
    • 5 pages with terms
    • 50 stories with terms and comments and
    • 20 events with terms and comments
  4. Add a queue using admin/content/nodequeue
  5. Generate queue assignments using admin/content/generate_nodequeue

Enable and configure modules

cd sites/default


We need drush, drupal and a few modules. You can download the http://build2be.com/sites/build2be.com/files/db.dump.tar.gz and http://build2be.com/sites/build2be.com/files/drupaljam.build2be.com.tar.gz The end result will be all the green enabled modules in the picture below.

Create and Fill the database

Just follow README.mysql.txt

mysqladmin -u root -p create drupaljam_demo
mysql -u root -p 
> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON drupaljam_demo.* TO 'drupaljam_demo'@'localhost' IDENTIFIED BY 'drupaljam_demo';

Prepare settings.php

mv default.settings.php settings.php 
chmod 777 settings.php

Add the site to apache (my steps)

cd /etc/apache2/sites-available/
cp drupaljam.dev drupaljam.demo
vi drupaljam.demo
a2ensite drupaljam.demo
vi /etc/hosts
# add drupal.demo

free form: 

Get the modules

Get a list of modules. What I did was use ls mysite/all/modules/ as a template and removed drush from that list.

./drush dl admin_menu advanced_help date drupalforfirebug drush_mm \
event flag og pathauto smartqueue_og token votingapi adminrole \
cck devel drush_sm fivestar nodequeue \
og_vocab rules timeline views wysiwyg

Drush nicely downloads all given drupal projects.

Project admin_menu (6.x-1.4) downloaded to /home/clemens/htdocs/drupaljam.build2be.com/www/sites/all/modules/. [success]

Getting drush and installing drupal.

Get drush and test it.

mkdir drupaljam.build2be.com
cd drupaljam.build2be.com/
wget http://ftp.drupal.org/files/projects/drush-All-Versions-2.0.tar.gz
tar xzf drush-All-Versions-2.0.tar.gz 
rm drush-All-Versions-2.0.tar.gz 

Get drupal without thinking.

clemens@clemens-laptop:~/htdocs/drupaljam.build2be.com$ ./drush/drush dl drupal
Project drupal (6.12) downloaded to /home/clemens/htdocs/drupaljam.build2be.com/.  
mv drupal-6.12 www

I want drush inside my sites/all/modules tree.

mkdir www/sites/all/modules

Block the Builder presentation at Drupal Jam 2009-06-26 Utrecht

This book is about what step I took to prepare the (temporary) demo site and what my presentation is about. Bob the Builder