Bits N Tricks

A platform to contribute to the best of our knowledge so someone else can be benefited.

TFS 2010 Build Service 20Jan, 2011

TFS 2010 Build Service

TFS2010,”There was no endpoint listening at..” , BuildService

Make your business functional with “on page seo” 14Jan, 2011

Make your business functional with “on page seo”

What is SEO? Search engine optimization (Seo) a word optimization define the “functional as possible” seo a web marketing strategy help to promote your business products by using different planning policies and make your product functional by achieving high rank in search engine result. On page Seo “On page” seo means the functional information on your site which crawler and user can easily rip up.   Foremost for on page. 1. Title tag As it display in the top bar of browser so it play a vital role for achieving high rank it is cardinal that title must contain HTML tag. General rules for Title tag: Up to 100 characters and max 3 keywords Use primary keyword in the beginning…

Posted in: SEO
Color Picker – jQuery plugin 08Jan, 2011

Color Picker – jQuery plugin

About A simple component to select color in the same way you select color in Adobe Photoshop Features Flat mode – as element in page Powerful controls for color selection Easy to customize the look by changing some images Fits into the viewport Examples Flat mode. $(‘#colorpickerHolder’).ColorPicker({flat: true}); Custom skin and using flat mode to display the color picker in a custom widget. Attached to an text field and using callback functions to update the color with field’s value and set the value back in the field by submiting the color. $(‘#colorpickerField1, #colorpickerField2, #colorpickerField3’).ColorPicker({ onSubmit: function(hsb, hex, rgb, el) { $(el).val(hex); $(el).ColorPickerHide(); }, onBeforeShow: function () { $(this).ColorPickerSetColor(this.value); } }) .bind(‘keyup’, function(){ $(this).ColorPickerSetColor(this.value); }); Attached to DOMElement and using callbacks…

Posted in: JQuery
Cakephp – Logable behaviour 31Dec, 2010

Cakephp – Logable behaviour

This behavior is created to easily let you (the developer) log users activities that relates to database modifications (ie, add, edit and delete). If you just want to see what your users are doing or need to be able to say “That is not a bug, I can see from my log that you deleted the post yesterday.” and don’t want to spend more time that it takes to do “var $actsAs = array(‘Logable’);” then this behavior is for you.

Posted in: Cakephp
Make yourself globalize with the help of Seo content writing 31Dec, 2010

Make yourself globalize with the help of Seo content writing

How to directly interact with Search engines eg: (google,yahoo.bing) The more knowledge you have about your product make you more globalize. Write a few lines about what is product or information all about. Followings are the few steps. 1) “Bold” the portion which tells brief about the product. 2) Highlight that portion which is most important. 3) Use some keywords in your text that can help you to achieve high rank on google search engine. Example: If you are talking about the facebook connect write some content about facebook connect in the introduction part like (save your valuable time by direct connect with facebook connect) facebook is most common word hit by the user now a days. If you use…

Posted in: SEO
jQuery validation on create account page in oscommerce 31Dec, 2010

jQuery validation on create account page in oscommerce

Jquery validation contribution for create account page validations in oscommerce.You can download contribution from oscommerce website. JQuery Validation On Create Account Page IF oscommerce-2.2rc2a Freash installation then copy all files otherwise follow follwing instructions. ******************** *** INSTALLATION *** ******************** 1. backup your create_account.php file ******************** 2. Add Following Files:- css/jquery.validate.css js/jquery-1.3.2.js js/jquery.validate.js js/jquery.validation.functions.js ************************** 2. Modified create_account.php :- Add folowing code in head tag-> 3. Find tep_draw_radio_field(‘gender’, ‘m’) changes to tep_draw_radio_field(‘gender’, ‘m’,”,’id=”genderm”‘) 4. Find tep_draw_radio_field(‘gender’, ‘f’) changes to tep_draw_radio_field(‘gender’, ‘f’, ”,’id=”genderf”‘) 5. Find tep_draw_input_field(‘firstname’) changes to tep_draw_input_field(‘firstname’,”,’id=”firstname”‘) 6. Find tep_draw_input_field(‘lastname’) changes to tep_draw_input_field(‘lastname’,”,’id=”lastname”‘) 7. Find tep_draw_input_field(‘dob’) changes to tep_draw_input_field(‘dob’,”,’id=”dob”‘) 8. Find tep_draw_input_field(’email_address’) changes to tep_draw_input_field(’email_address’,”,’id=”email_address”‘) 9. Find tep_draw_input_field(‘street_address’) changes to tep_draw_input_field(‘street_address’,”,’id=”street_address”‘) 10. Find tep_draw_input_field(‘postcode’) changes to tep_draw_input_field(‘postcode’,”,’id=”postcode”‘) 11. Find tep_draw_input_field(‘city’)…

Posted in: OsCommerce