Remove ‘History’ from User Profile

It is common to have each user has a profile where can one put their personal details to other users and it is a nice to have feature. But Drupal provide some useless (in some cases) information with the profile which is unwanted in my scenario.
User Profile History

Continue reading


Get User IP when using Proxy

Rackspace has a provision to enable load balancer for high traffic sites. So when we use this Load Balancer IP will only shows as user IP. To overcome this we just need some changes on settings.php

Continue reading


Hide Title of Content

The requirement was to hide title on demand.  In Drupal it is not easy to hide the title as it is a part of the page structure.  Here is what I done:

Continue reading


Drupal Menu Item to Image Icon

On a menu, client wants me to put an icon for the RSS Feed Menu Item.

We need to identify which menu item has image,  we need to put the image url as title for the specific menu item.

Continue reading


Customizing RSS Fields in Drupal -views

Creating RSS feeds in a drupal site is an easy task, if you know what really a view is.  If you don’t know how to build one, this post might help you – custom RSS fields in Drupal

My client asked me to provide entire body content to be provide with the RSS Feed. We cannot able to manage fields of RSS feed through views UI. So what we can do is to set up a function which triggers before loading the RSS feed, using that function I passed those needed data on the template which is edited and added the additional data on the feed.

Continue reading


Content Type Page Setting – node sibling

On a project each and every content-type has separate template file(tpl). A content type named Journal Issue where almost all content on the node are generated inside a developer built module.

One of the clients requirement was to give paging ( Previous and Next ) links on each content so that a visitor can easily browse through the contents.

Continue reading


External Link Disclaimer Alert

On a project my client asked me to put an alert when a visitor clicks on an external link from the drupal site I am developing.

Continue reading


Follow

Get every new post delivered to your Inbox.