Difference between revisions of "Show And Tell 2012-8-20 (Drupal)"

From Stadm
Jump to navigationJump to search
Line 20: Line 20:
 
==Profile Styling==
 
==Profile Styling==
 
*Style settings in view
 
*Style settings in view
 +
*global.css
 +
**page name is in the body class
 
===sending and receiving NID===
 
===sending and receiving NID===
 
===Templates===
 
===Templates===
 
*Changing header in branding
 
*Changing header in branding
 
**Image map
 
**Image map
 +
 
==Views Bulk Operations==
 
==Views Bulk Operations==
 
*Checkboxes to select nodes
 
*Checkboxes to select nodes
 
*More options (delete)
 
*More options (delete)

Revision as of 14:26, 17 August 2012

Rewriting Results In Views

  • Turn off linking to node
  • can use tokens such as [title], [body] to link or rewrite
    • review available tokens in replacement patterns

Calendar

  • View for calendar should be built from template

Webform

  • Create content
  • Using content and before in styling

hook_mod_alter

  • check page path with url($_GET['q']);
  • get_defined_vars
  • template.php
  • change ['submitted']...

node_load

  • get nid from url

Profile Styling

  • Style settings in view
  • global.css
    • page name is in the body class

sending and receiving NID

Templates

  • Changing header in branding
    • Image map

Views Bulk Operations

  • Checkboxes to select nodes
  • More options (delete)