animation-website-headstartcms
API, Apps, Coding, CSS, Directory, HTML, Webdevelopment, Website

Where to get txt animation for my website

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 your website. To get customized done faster you need knowledge…

Continue Reading

full-stock
Advices, Business, CMS, Coding, Drupal, Hack, Human Resources, User Interfaces, Webhosting

Full stock developers job description

The global recruitment team always want the smart guys working for them so they hunt down and leverage the brains of the web developers. But their are 3 type of the developers the front-end , back-end and the full scale developers which is also known as Full stock developers. Most of the recruitment in Linkedin choose the full stock developers…

Continue Reading

CMS, Coding, Tutorials

using the colorbox module d7

This module is useful when you are using lightbox video. Make sure you also install other module such as colorbox , media , video and several module that will support the module. adding a Video Embed Field. Install the Video Embed Field module. Go to Structure > Content types > Manage fields Add a Video Embed field Click Manage Display…

Continue Reading

Coding, Directory

drupal_set_message

This will help you location of the dir. Location of your dir : drupal_set_message($form_id);    // know the root dir   /** * Implements hook_form_FORM_ID_alter(). */ function demo_form_alter(&$form, &$form_state, $form_id) { // dpm($form); drupal_set_message($form_id);         switch($form_id){ case ‘rooms_booking_availability_search_form’:   // name of the root form_id   //using the devel to allocate the dir $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’]=…

Continue Reading

CMS, Coding

Video lightbox in drupal

// front page pop up video if($(‘#video-wrapper’).length){ var front_video = $(‘#video-wrapper’); var overlay = $(‘#video-wrapper-overlay’); $(‘#video-wrapper .video-content div.video-link’).attr(‘id’,’front-video-popup’); //alert(front_video.width()); var pop_margin1 = (body.width()-front_video.width())/2; var pop_margin2 = (body.height()-front_video.height())/2; front_video.css({ ‘left’:pop_margin1, ‘right’:pop_margin1, ‘top’:pop_margin2, ‘bottom’:pop_margin2 }); front_video.css(‘display’,’none’); var click_play = $(‘#block-block-1 img.awardee-click-play’); click_play.click(function(){ front_video.fadeIn(‘fast’); toggleVideo(‘show’,’front-video-popup’); overlay.css(‘display’,’block’); }); $(‘#video-wrapper div.close,#video-wrapper-overlay’).click(function(){ front_video.fadeOut(‘fast’); toggleVideo(‘hide’,’front-video-popup’); overlay.css(‘display’,’none’); }); $(window).resize(function(){ var pop_margin1 = ($(‘body’).width()-$(‘#video-wrapper’).width())/2; var pop_margin2 = ($(‘body’).height()-$(‘#video-wrapper’).height())/2; $(‘#video-wrapper’).css({…

Continue Reading

CMS, Coding

drupal_set_message

To test the txt location of your block or code use this code :   drupal_set_message(‘test’); After you have seen your code location you can then delete. Syntax function demo_form_alter(&$form, &$form_state, $form_id) { dpm($form);   drupal_set_message(‘test’); } Remember the code: drupal_set_message(‘test’);   dpm($form);    allocate the devel of your coding

API, Coding

Editing the open hotel theme in search form booking

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 the txtsearch Extension name:  demo.info ;$Id$ name = txtsearch description…

Continue Reading

CMS, Coding

Id name in drupal is #

Remember in drupal id is # #rooms-booking-availability-search-form label { padding-top: 7px; }        

CMS, Coding

Using the css-injector is fast and easy

Using the css-injector is fast and easy without knowing each specific directory but if you want compete access is css customization i strongly suggest using the ftp account. Find and edit using the crablabster.php or the netbean.net again it depends in the environment which is comfortable to you. Best practice go to root dir for complete access and control on your…

Continue Reading