Notes from Drupal Camp - San Diego

Well the week certainly flew by, I thought I would post my notes from camp last weekend. Thanks to all the speakers.

***Warning, this is completely un-edited. I would love to hear any feedback, please comment below.

10am :: Theming Session - Andrew Root
• Themer Module - get it
• drupal_flush_all_caches(); - in drupal core
∘ good good function to have in theme while custom themeing
∘ what module gives us access to the drupal_flush_all_caches(); function?
‣ comes with devel module

11am :: Fields in Core - Florian Loretan
• groups.drupal.org/fields-core

12pm :: Lunch

1pm :: Multi-Sites - Joshua Brauer (Acquia)
• fully qualified domain names - point to the same point
• Still need to visit each site to update each site ***
• Table prefixing
• Can keep a 'files' folder in each example.com folder to keep things clean
• uncomment the prefixes to create the shared data before the running the install.php script
• user_roles => prefix for user prefix
• set cookie domain = 'for the highest domain - example.com'
• slides: joshuabrauer.com a day or 2 look there.

2pm :: Killer User Profiles - Andrew Root
• panels for user profiles - is great, but not quite yet ready
• user-profile_
• custom php-snipet into panels
• content profile content type
• use private message (is in dev still)
∘ integrates with messaging framework (check this out
• *** Flag & Flag friend :: for creating friend lists
∘ friendship stuff
∘ friends list ? => kind of a pain
• guestbook, for similar function as a facebook wall
• Rules -> great extension to triggers etc.
• Views... used very extensively for this (user profiles that kick ass.. that is
• Don't use FCK or any WYSIWYG editors

<? php
$user = user_load($GLOBALS['user']->uid); //would not want to do this... get UID from URL
$profile = content_profile_load($user->uid);

//print_r($profile);

//print module_invoke(guestbook, 'page', uid $user->uid)

?>

**Node type & node published filters in views (most all the time)
filter user ID selected for this example

• views embed function:

andy's PHP-snipets: sandcamp.org/links

*** using image cache with lightbox (or something)

3pm :: Automated Theme Creation Directly from PSD files - shaun (nextgen ?)

psd2css Online.com
• merge layers
• rasterize layers
• layer naming conventions
∘ _drupal names will create theme regions
∘ check out page.tpl.php file, it has a ton of comments
• TIP: visit theme list page to clear theme cache
• not magic
∘ do the preparations 1st
• can make custom front page as a node
∘ _page naming convention
‣ page_page_empty (container div)
‣ page-node-3_page
• special node for front page, that drupal knows as front page
• expanding images (long page, etc.)
• use modules over some of these features
• user: sandcamp09
∘ drupal stuff is an advance feature

4pm :: Collaborating with Groups: - Andy
• over ride the group home page
• og_ghp prefix as view for home page of group
∘ use template to embed views into home page

***look into services module to pass drupal data to flex/flash app***

That's all folks.

-Casey