Add rel nofollow to all external links in the node body and comment body
For for node body field use below code: /* Add nofollow */ if(isset($variables['content']['body'][0]['#markup'])) { [...]
For for node body field use below code: /* Add nofollow */ if(isset($variables['content']['body'][0]['#markup'])) { [...]
Here's how to adding new variable for the Author Pane (Follow links). The demo is on Bersosial.com. function [...]
A few days ago I releasing new module to rewrite and redirect the comment permalink to use a fragment for SEO purposes. The default Drupal 7 comment [...]
Recently, I need the following features for one of client Drupal 7 site: There is one content type that requires option to change the layout just by [...]
We can embed a view created by Views module inside a node in Drupal 7 with just some short code. Here is the code: <?php [...]
Drupal has an amazing and clean code. Support of social networking, multimedia, SSL, event calenders, document management, blogging, forums, [...]
Maybe sometimes we want a custom style for our Drupal login page, different with the existing default login page in Drupal 7, whether it's for a [...]
There are various ways to create a responsive Drupal theme, one of them is using template_preprocess_html() function in template.php. First create [...]
At least now I do not need to creating custom module to get this simple feature. Reform: sometimes we want something simple, such as setting up the [...]
Creating custom user registration form sometimes can be a little tricky, but lets try to create a custom registration form in Drupal 7 with just a [...]