danpros

A self-proclaimed geek, business owner, and part-time blogger.

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'])) { [...]

July 04, 2013 · 2 min · danpros

Adding new variable for the Author Pane (Follow Links)

Here's how to adding new variable for the Author Pane (Follow links). The demo is on Bersosial.com. function [...]

June 20, 2013 · 2 min · danpros

Medium: Not too big, not too small

Evan Williams widely known as the co-founder of Blogger and Twitter (Blogger acquired by Google), and the steps to create new things continues, the [...]

June 05, 2013 · 1 min · danpros

Google Penguin 2.0

On May 22, 2013, Google has released the latest version of Penguin algorithm as announced by Matt Cutts, the Penguin 2.0 (this is algorithm update of [...]

May 27, 2013 · 1 min · danpros

Bersosial.com: Indonesian Community

The desire to create a community for Indonesian finally realized, in December 2012 I set up a forum Bersosial.com using Drupal and was getting a good [...]

April 26, 2013 · 1 min · danpros

Comment Fragment: Rewrite and Redirect Comment Permalink

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 [...]

March 10, 2013 · 1 min · danpros

Check if checkbox field is checked (Drupal 7 theming)

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 [...]

February 15, 2013 · 1 min · danpros

Embed a view inside a node in Drupal 7

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 [...]

January 15, 2013 · 1 min · danpros

Top Ten Free Professional Drupal Themes

Drupal has an amazing and clean code. Support of social networking, multimedia, SSL, event calenders, document management, blogging, forums, [...]

January 10, 2013 · 4 min · danpros

Just switch to using Disqus

Previously I was using Blogger default commenting system, and recently I decided to switch using Disqus. I did this in order to have more organized [...]

January 10, 2013 · 1 min · danpros