Main Concepts ~ + Site is a hierarchy of Nodes ^ + Navigation ^ + Menus + Views (Lists Of Contents ?) + Blocks (On Side generated by Modules) Information Flow ~ From User Input to Presentation ~ Theme-Templates -- Presentation; PHP/CSS -- Permission -- Role Based -- Blocks and Menus -- Placement on Template Possible. -- Often output of Module. Modules -- Plugin Adds Node Fields Nodes (page data, etc) -- Raw Input -- Installation ~ http://drupal.org/documentation/install/developers http://localhost/drupal/install.php chmod 777 sites/default sites/default/files Select MySQL DB name, Admin user name, Password (drupal6, thava/1drupal) My account - http://localhost/drupal/?q=user/1 Create content - http://localhost/drupal/?q=node/add Administer - http://localhost/drupal/?q=admin Log out - http://localhost/drupal/?q=logout Content Management ~ Taxonomy ~ + Manage tagging, categorization, and classification Content types ~ + Manage posts by content type, including : + Default status, front page promotion, etc. Themes; Case Study: multiflex3.info theme file ~ name = Multiflex-3 description = Tableless, multi-column, fluid width theme. base theme = zen core = 6.x stylesheets[all][] = css/pages.css # many more css'es. ; The regions defined in Zen's default page.tpl.php file. regions[header] = Header regions[page_top] = Page Top ; Also: page_bottom, navigation, highlighted, featured, content, ; sidebar_first, sidebar_second, footer, etc. ; Enable/Disable specific features for this subtheme: features[] = logo ; etc ; Set the default settings to be used in theme-settings.php settings[zen_breadcrumb] = yes ; etc Template File: page.tpl.php (multiflex3 zen theme) ~ HighLevel Structure ~ $head_title $head $styles $scripts $logo (image) $site_name $site_slogan $search_box $header (Custom defined header region here) $secondary_links $primary_links $navigation $featured $mission $highlighted $bread_crumb $messages $tabs $help $content_top $content $content_bottom ^ $feed_icons $sidebar_first $sidebar_second $footer_firstcolumn ... $footer_fourthcolumn $footer $page_closure $closure Template File for Garland Theme (page.tpl.php) ~ Note: Uses Default Regions: left, right, content, header, footer. ... $header $logo $site_name $site_slogan $primary_links $secondary_links $search_box $left $breadcrumb $mission $tabs $tabs2 $messages $content $feed_icons $footer $right $closure Adding Custom Region ~ Add following in your template.php file: t('right sidebar'), 'content' => t('content'), 'header' => t('header'), 'footer' => t('footer'), 'floater' => t('floater'), 'inline1' => t('inline 1') ); } ?> Adding Custom Block ~ + Just add PHP Code from Admin=> Site Building => Blocks: E.g: OR + sites/all/modules/blockname/blockname.info File + + sites/all/modules/blockname/blockname.module File: function thavatime_block($op='list'...) { switch($op) case 'list' ... case 'view' ... echo date('gi:i d D m Y'); } Notes + Example breadcrumb: Home > Admin > Site Config. + Admin Menu is generated by *User* Block. + Admin => Site Building => Blocks: Assigns blocks to regions. + Framework sets region vars (e.g. $content) depending on the blocks assigned to the region. + Examples of Content Types: Page, Story, Donation, Product, etc + To Edit Nodes: Admin => Content Mgmt => Content + Assign name like mynode Vs node/12, etc. + To Edit sitename, slogan, footer, etc: Admin => Site Config + Remember to Refresh Themes (Admin => Themes) after tpl changes Why Zen Theme Is Good ~ + Flexible. E.g. Defines Following Additional Regions : content_top, content_bottom + Can specify in .info file for easy configurability : settings[zen_layout] = zen-columns-liquid + Comes with layout-fixed.css and layout-liquid.css, your choice! Why Fusion Theme Is Good ~ + New Regions: X_top, X_bottom where X=node|preface|content|postscript and header_top + Comes with skinr module which can change skins from UI ! + Grid based, So fine granular magazine type config possible. What is Views ? + To display Pages Using Filters Such as: + Time (last year, last month, etc) + Type (Based on categorizaion, taxonomy) + Tags (User defined tags to pages) + Provides different views of Raw-data-pages How To Create Tabs ? + Enable quick tabs module + Site Building => Quick Tabs (To Add) + Site Config => Quick Tabs (To See how it looks) + Input NewBlockName Which Contains All tabs. + Select Individual tab elements as Node-Qtab + This could be another block or view