Recently I ran into a problem of counting the words, sentences and characters in every articles and to display it on the bottom of all the articles pages in Drupal site. So I have checked and found out the way of doing this task.
By default in drupal if we click on any taxonomy term, it will execute the taxonomy/term/% menu. We can change this default taxonomy/term/% menu path to a custom menu path. In one of my project I had a requirement to execute a custom function for my vocabulary in stead of executing the taxonomy/term/% menu and I had found a solution for this. The following are the steps to be done.
You can see certain options in our theme ie in settings page of our Drupal themes like LOGO, SLOGAN etc. We can also add our own options to a theme In this article I will be explaining how to add additional theme settings options to a Drupal 7 theme using hook_form_system_theme_settings_alter.
One of our Drupal clients wanted to us to enable members of her site to bookmark their favorite nodes. We went to work immediately as
we knew that this task could be accomplished by the Drupal Flag module. The flag module did enable us to implement that feature easily. Nevertheless we needed to add text near to the flag button/link on a specific node without affecting its display in a view. Read on to know how to dd text to a flag in a node when working with the Drupal Flag module.
Many Drupal users wanted to know how to set a different id for a Views exposed filter displayed multiple times on a page. To know how to display a Views exposed filter with a unique id multiple times on a page, continue reading.
You might encounter this "Undefined index: base table.." error message in you Drupal site if you had recently upgraded to Drupal Views 7.x-3.x-dev. This is not exactly an error message but it is a notice which a number of users have encountered on their Drupal sites. Read on to find out the possible solutions to remove this message.
Cross browser compatibility is one of the most important concerns of an HTML/CSS developer. Here’s how you can easily add shadow effect to your div blocks with cross-browser compatible CSS. Simply add the below code to the div to which the effect is to be added. You can change the size, strength and direction of the shadow in all browsers, except for IE, in which you can change only the strength and direction of the shadow.