Searching in the website hasbro.com and find out that the website has script animation for their products marketing campaign. Where to find the script or code they are using in their website. I search the script from https://greensock.com/SplitText this website will teach you how to use the animation graphics for … Continue reading

Code: <?php /** * Implements hook_form_FORM_ID_alter(). */ function demo_form_alter(&$form, &$form_state, $form_id) { dpm($form); drupal_set_message(‘test’); //$label[‘#title’] = t(‘Date Plan’); //$form[‘edit-rooms-end-date’][‘#title’] = t(‘Date End’); $form[‘rooms_date_range’][‘rooms_start_date’][‘#title’] = t(‘LEAVING ON’); $form[‘rooms_date_range’][‘rooms_end_date’][‘#title’]= t(‘FOR’); $form[‘conditions’][‘rooms’][‘#title’]= t(‘ROOMS’); $form[‘rooms_fieldset’][‘table_header’][‘#markup’]= t(‘ADULTS | CHILD ‘); $form[‘actions’][‘submit’][‘#value’]= t(‘FIND TOURS’); } Add this in your module then enable: filter the search using … Continue reading