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

From Stadm
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
*Templating
+
==Templating==
**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
+
==Adding and using stylesheets for templates and modules==
**Must be added to info file as "stylesheets[all][] = css/'name.css'
+
*Must be added to info file as "stylesheets[all][] = css/'name.css'
**Also requires clearing the cache.
+
*Also requires clearing the cache.
*Insert
+
 
**Hide image field and label in content type Display options
+
==Insert==
**Full HTML needs to be enabled on body.
+
*Hide image field and label in content type Display options
 +
*Full HTML needs to be enabled on body.
  
 
[[Category:Presentations]]
 
[[Category:Presentations]]

Latest revision as of 09:27, 19 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.