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

From Stadm
Jump to navigationJump to search
Line 3: Line 3:
 
By Zack
 
By Zack
  
==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==
 
==Webform==
 
*Create content
 
*Create content
 
*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']);
 
*check page path with url($_GET['q']);
Line 27: Line 21:
 
*in the webform settings, you can use %get[nid]
 
*in the webform settings, you can use %get[nid]
  
==Profile Styling==
 
*Style settings in view
 
**wrapper and element type
 
*global.css
 
**page name is in the body class
 
 
===Templates===
 
*Copy from base theme
 
*Changing header in branding
 
**Image map
 
*Clear cache
 
  
 
==Views Bulk Operations==
 
==Views Bulk Operations==
 
*Checkboxes to select nodes
 
*Checkboxes to select nodes
 
*More options (delete)
 
*More options (delete)
 +
 +
==Feeds==
 +
*Creating importer
 +
**Periodic Import
 +
**Content Type
 +
**Mapping
 +
*Import
 +
**delimiters
 +
 +
==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
  
 
==Contextual Filters==
 
==Contextual Filters==
Line 50: Line 46:
 
*Chose content type
 
*Chose content type
  
==Feeds==
+
===Templates===
*Creating importer
+
*Copy from base theme
**Periodic Import
+
*Changing header in branding
**Content Type
+
**Image map
**Mapping
+
*Clear cache
*Import
+
 
**delimiters
+
==Profile Styling==
 +
*Style settings in view
 +
**wrapper and element type
 +
*global.css
 +
**page name is in the body class
 +
 
 +
==Calendar==
 +
*View for calendar should be built from template
  
 
==Gallery==
 
==Gallery==

Revision as of 14:50, 17 August 2012


By Zack

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

Sending and receiving NID or other info in URL

  • quicktabs use
  • % in path
  • in the webform settings, you can use %get[nid]


Views Bulk Operations

  • Checkboxes to select nodes
  • More options (delete)

Feeds

  • Creating importer
    • Periodic Import
    • Content Type
    • Mapping
  • Import
    • delimiters

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

Contextual Filters

  • % in path
  • By NID
  • Validation Criteria
    • Validator -- content or taxonomy term
  • Chose content type

Templates

  • Copy from base theme
  • Changing header in branding
    • Image map
  • Clear cache

Profile Styling

  • Style settings in view
    • wrapper and element type
  • global.css
    • page name is in the body class

Calendar

  • View for calendar should be built from template

Gallery

  • Cant use pager
  • HTML list
  • Format slideshow of fields
    • Arrange body below image and hide title
    • Text styled in global.css