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

From Stadm
Jump to navigationJump to search
Line 10: Line 10:
 
*Using content and before in styling
 
*Using content and before in styling
 
===hook_mod_alter===
 
===hook_mod_alter===
 +
*check page path with url($_GET['q']);
 
*get_defined_vars
 
*get_defined_vars
 +
*template.php
 +
*change ['submitted']...
 +
 
===node_load===
 
===node_load===
 
==Profile Styling==
 
==Profile Styling==

Revision as of 14:25, 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

Profile Styling

  • Style settings in view

sending and receiving NID

Templates

  • Changing header in branding
    • Image map

Views Bulk Operations

  • Checkboxes to select nodes
  • More options (delete)