Profile cover photo
Profile photo
Guru moorthi
http://www.phponwebsites.com is my blog address
http://www.phponwebsites.com is my blog address
About
Posts

Post has attachment
Update multiple fields using #ajax in Drupal 7 form
     We know how to replace a field using #ajax in a form. Can we update multiple fields using #ajax in a form? Yes, we can update multiple fields using #ajax in the Drupal 7. We can achieve it using ajax_command_replace() in Drupal 7. For more details abou...
Add a comment...

Post has attachment
Add date pop-up calendar in custom drupal 7 form
     This blog describes how to add date pop-up calender to a custom form in the Drupal 7.      The use case is if you want to use date pop-up calendar in a custom form, then how you can do it in the drupal 7. Actually, the drupal 7 form API provides lots o...
Add a comment...

Post has attachment
Disable future dates in date popup - Drupal 7
     This blog describes how to disable future dates in the Drupal 7. One of the features in the date  module is displayed the date in the pop-up. The use case is if you want to display only past & current date rather than all the dates in the pop-up, then ...
Add a comment...

Post has attachment
Multiple URL alias for a node in pathauto - drupal 7
   As we discussed in my previous post , clean URL is one of the option to improve SEO. We've module called pathauto to clean URLs in drupal 7. It can allow us to set alias for content types, files, users & taxonomies. But we can set only one URL alias for ...
Add a comment...

Post has attachment
Pathauto added special characters in url alias - drupal 7
    To improve SEO, we need to clean our URLs. By default in drupal, we've an option called clean URLs at the configuration. In drupal 7, we can also manage the URLs. For instance, you have a content type called services. You wanted to each service page hav...
Add a comment...

Post has attachment
PHP get particular key value from multidimensional array
You can get specific key from multidimensional array using any one of the below methods:   1. Get Specific key value form multidimensional array using array_column:      The array_column() returns the values from a single column in the input array. It works...
Add a comment...

Post has attachment
Create a node programmatially in Drupal 7
      This blog describes about how to create a
new node programmatically in Drupal 7. If you want to add a new node, you can done
at node/add by default. In Drupal, you can also add a node programmatically.
Let see the below code. <?php // create object   ...
Add a comment...

Post has attachment
Redirect users after login in Drupal 7
    This blog describes about how to redirect users after logged into a site in Drupal 7. By default, Drupal redirects users to user page after logged into a site.  Suppose you want to redirect users into any other pages as you want. Then you can done that ...
Add a comment...

Post has attachment
Create page without header and footer in Drupal 7
    This blog describes about create only page contents without header and footer in Drupal 7. All of you know almost all of the pages in Drupal have header and footer. Suppose you want to create a page without header and footer in Drupal 7. Is it possible?...
Add a comment...

Post has attachment
Clear views cache when insert, update and delete a node in Drupal 7
This blog describes how to clear views cache while inserting, updating and deleting a node in Drupal 7. If we want to improve site performance, then views caching is one of the options.    For example, you have views which display list of records. It will u...
Add a comment...
Wait while more posts are being loaded