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

From Stadm
Jump to navigationJump to search
(Created page with '==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 aro…')
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
==jQuery on Sliders==
+
==ERI IT CARF Webform/Module with jQuery Autocomplete==
 +
*Pulls from PHP script on ERI site that generates JSON from query to people nodes
 +
**PHP script actually has to load all nids of content type using class EntityFieldQuery with the condition that the type is 'bio'
 +
**Then loads all nodes with the nids in that array.
 +
*Template Formats to display Full name followed by email in brackets.
 +
**Using jquery ajax method.
 +
*Email submit module takes only the email regardless of whether the name is present and sends an HTML email with the php mail function.
 +
*Doesn't actually send using the default webform sender, because that has to be drawn from a field of type email, which can't be programmatically  modified during validation.
 +
 
 +
*WebformToCSV
 +
**How are we going to run import?
 +
 
 +
==jQuery on Sliders/CCBER flash replacement==
 
*AdaptiveTheme has some issues with Views Slideshow
 
*AdaptiveTheme has some issues with Views Slideshow
 
**Use scripts to fix this
 
**Use scripts to fix this
 
***Add the same way as stylesheets
 
***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
 
***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
 
+
****Short answer why -- Drupal recognizes jQuery as the jQuery identifier and this is the javascript syntax for setting $ as an alias for jQuery for the functions within brackets.
==Webform==
 
*Results as table and can be emailed
 
*WebformToCSV
 
**How are we going to run import?
 
 
 
==ERI IT CARF with jQuery Autocomplete==
 
*Pulls from PHP script on ERI site that generates JSON from query to people nodes
 
*template Formats to display Full name followed by email in brackets
 
*email submit module takes only the email regardless of whether the name is present and sends an HTML email with the php mail function.
 
  
 
[[Category:Presentations]]
 
[[Category:Presentations]]

Latest revision as of 15:58, 21 November 2012

ERI IT CARF Webform/Module with jQuery Autocomplete

  • Pulls from PHP script on ERI site that generates JSON from query to people nodes
    • PHP script actually has to load all nids of content type using class EntityFieldQuery with the condition that the type is 'bio'
    • Then loads all nodes with the nids in that array.
  • Template Formats to display Full name followed by email in brackets.
    • Using jquery ajax method.
  • Email submit module takes only the email regardless of whether the name is present and sends an HTML email with the php mail function.
  • Doesn't actually send using the default webform sender, because that has to be drawn from a field of type email, which can't be programmatically modified during validation.
  • WebformToCSV
    • How are we going to run import?

jQuery on Sliders/CCBER flash replacement

  • AdaptiveTheme has some issues with Views Slideshow