Difference between revisions of "Show And Tell 2012 11 9 (Drupal)"

From Stadm
Jump to navigationJump to search
Line 2: Line 2:
 
**Easiest way is to copy tpl file from base theme directory.
 
**Easiest way is to copy tpl file from base theme directory.
 
**Clear cache after adding template to templates folder.
 
**Clear cache after adding template to templates folder.
 +
*Adding and using stylesheets for templates and modules
 +
**Must be added to info file as "stylesheets[all][] = css/'name.css'
 +
**Also requires clearing the cache.
 
*Insert
 
*Insert
 
**Hide image field and label in content type Display options
 
**Hide image field and label in content type Display options

Revision as of 11:28, 9 November 2012

  • Templating
    • Easiest way is to copy tpl file from base theme directory.
    • Clear cache after adding template to templates folder.
  • Adding and using stylesheets for templates and modules
    • Must be added to info file as "stylesheets[all][] = css/'name.css'
    • Also requires clearing the cache.
  • Insert
    • Hide image field and label in content type Display options
    • Full HTML needs to be enabled on body.