Difference between revisions of "Show And Tell 2012-8-20 (Drupal)"
From Stadm
Jump to navigationJump to searchLine 35: | Line 35: | ||
*Checkboxes to select nodes | *Checkboxes to select nodes | ||
*More options (delete) | *More options (delete) | ||
+ | |||
+ | ==Contextual Filters== | ||
+ | *% in path | ||
+ | *By NID | ||
+ | *Chose content type |
Revision as of 14:31, 17 August 2012
Contents
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
sending and receiving NID or other info in URL
- % in path
- 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
- Changing header in branding
- Image map
Views Bulk Operations
- Checkboxes to select nodes
- More options (delete)
Contextual Filters
- % in path
- By NID
- Chose content type