Gravity Forms ExactTarget Add-on Plugin: Nothing happens after step 2 when creating a new feed [closed]

It appears that there are some SimpleXMLElement objects in the array that is to be serialized in stack trace above, and as the error says, ‘Serialization of ‘SimpleXMLElement’ is not allowed.’ Boo. I tried to figure out how to modify the response so it replaces all the SimpleXMLElement objects, but this was a pain. I … Read more

Carrying information from button click into form [closed]

The better way to do this is using javascript/jquery. Use either javascript webstorage api or jquery ajax $.post. Webstorage api will be good for this. Here how you can do it. $(‘body’).on(‘click’, ‘.button.small’, function(){ var index = $(this).parents(‘table’).index(‘table’); var cur_workshop = $(this).parents(‘.innercontent’).find(‘h3’).eq(index).text(); localStorage.setItem(‘workshop’, cur_workshop); }); Place above script on http://yft.ac/upcoming-workshops/ this page template. Then call … Read more

Gravity prerender taxonomy [closed]

Scoured the web and modified a snippet, in case anybody is interested: <?php add_filter(“gform_pre_render”, “gform_prepopluate_populate_books”); add_filter(“gform_admin_pre_render”, “gform_prepopluate_populate_books”); function gform_prepopluate_populate_books($form){ //Grab all Terms Associated with a Specific Taxonomy; global $post; $taxonomy = ‘genres’; $formid = 5; $fieldid = 14; if($form[“id”] != $formid) return $form; $terms = get_terms($taxonomy, ‘hide_empty=0&orderby=none’); //Creating drop down item array. $items = array(); … Read more

Using a Cron Job to dynamically populate a field ONCE, and then making the field blank the next time someone visits page

I’m gonna attempt an answer here: In your GF code, you’re going to need to have a snippet that checks the hidden field in the db first. IF value is blank.. THEN they are not a winner = Proceed. If value is ‘winner’.. then update value to blank… Proceed with ‘winner’ functionality. In your cron, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)