Difference between revisions of "Show And Tell 2012 11 9 (Drupal)"
From Stadm
Jump to navigationJump to searchLine 8: | Line 8: | ||
*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]] |
Revision as of 11:32, 9 November 2012
Contents
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.
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
- Use scripts to fix this