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

From Stadm
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
*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==
 
==Insert==
 
*Hide image field and label in content type Display options
 
*Hide image field and label in content type Display options
 
*Full HTML needs to be enabled on body.
 
*Full HTML needs to be enabled on body.
==jQuery on Sliders==
 
*AdaptiveTheme has some issues with Views Slideshow
 
**Use scripts to fix this
 
***Add the same way as stylesheets
 
***jQuery needs to have special wrapper around it to define it as jQuery code -- see here: http://stackoverflow.com/questions/4681309/using-jquery-in-drupal-7#answer-4681392
 
  
 
[[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.