You are here


For eddintg the menu links in Drupal 7, use your theme template.php file. Add a custom function that alows you to edit all the menu link items.
Tags: Drupal 7, Menu
For displaying showing of 1-1 in views is quite tricky. You just need to create views tpl file. I take it that you know how to create a tpl file for view in drupal 7. I am using the views-view--viewname.tpl.php, i have list style in my tpl file.
Tags: Drupal 7, Pager, Views
Jquery document.ready function is bit different than in Drupal 6. In Drupal 6, we simple add the document.ready function and it works like: $(document).ready(function() { });
Tags: Drupal 7, Jquery
If there is a case that your jquery flot graph is only displaying if you dont have decimal points than you might need to add tickformatter to solve the issue. In your Y-axis option add the tickformatter option as shown below:
Tags: Jquery
You can use the math round function in jquery to remove the decimal points in jquery. For example: Math.round(65.98) // will return 66 Math.round(65.28) // will return 65
Tags: Jquery
To get the one decial place in php can be achieved by using the round function. To get the round value in php   To get one decimal place   To get two decimal places in php  
Tags: PHP
A short tutorial on how to create a bounce effect in jquery when you hover the menu items or when you hover over any element. You need to have jquery and jquery ui library to make this effect working. You can include the jquery files from the google as it save the page load speed.
Tags: Jquery
Displaying the Drupal 6 webform in a block To display webform in a block you need to install extra module. Webform block modules provide the functionality to display form in form of block.
You can get the timestamp value for before seven days from a certain date by substracting the timestamp.
Tags: PHP, timestamp
In some cases, we might to add some extra class or some extra attributes to the primary menu link in Drupal 7.
Tags: Drupal 7, Menu

Website fix request form

If you have problems with the website based on Drupal or WordPress, please feel free to contact us: