Skip to main content

Timeline for Using hooks -- simple please

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Aug 18, 2015 at 8:11 vote accept OregonJohn
Aug 18, 2015 at 8:11 comment added OregonJohn Got it. That did work, just had to refresh the page! Thank you, new horizons await me!!!
Aug 18, 2015 at 8:07 comment added OregonJohn Thank you. I got that to work, renaming your folder, php file names and I replaced your 'contributionpagecustomizations' with my 'formcustomization' in the php files. Got it to install in 'Manage Extension' but --- if ($formName == 'CRM_Activity_Form_Activity' && $form->getaction() == CRM_Core_Action::ADD) {$form->setDefaults(array('assignee_contact_id' => $form->_currentUserId)); --- did not set the default assignee to current user. Any ideas? Thanks in advance.
Aug 18, 2015 at 5:41 comment added OregonJohn Thank you. Do I put that in /var/www/drupal/sites/all/modules/civicrm_extensions and then inside a folder, in your case, namedcontributionpagecustomizations?
Aug 18, 2015 at 4:40 history answered Jon G - Megaphone Tech CC BY-SA 3.0