But the term path inside the tag cloud is always fixed as default which is taxonomy/term/[tid]. I tried to override it by the Entity Path module but no luck. Luckily i find a workaround to override it. Actually Tagadelic is not just a simple Drupal module but also a API system. The following theme function theme_tagadelic_weighted() determines the term path in Tagadelic. Continue reading Drupal 7 – Override the term path inside Tagadelic Tag Cloud→
If you want to include location information in your content type. The Location module could help. But by default, the list of selectable countries are very long and sometimes we may want to limit it to a few countries only. This can be done by creating a custom module but it only works for Location CCK but not for Node Location and User Location
In the past, i always added js files on theme level. This is not a good approach because the aggregated theme js will be quite large and it is loaded on every pages even js code is not used.
So this time i try to add the js on specific path only when it is needed. This is done by creating a custom module. Let’s name the custom module eureka_js.
1. Inside the eureka_js module folder, we have the following files.
But there is a bug when using both of them together. After you setup a Nice menu and you set the parent menu item path to <nolink>, the hyperlink is still there. Continue reading Working with menus in Drupal 7 @ 3→
In Drupal development, you always need to work with menus. In coming posts, i would like to share 2 very useful modules when working with Drupal menu. This post is about creating a menu item without hyperlink.
The GoAway module allows you to ban visitor of your Drupal website by IP address. Just download and enable the module and then browse admin/user/goaway where you can manage the ban list by IP address. Continue reading Drupal – BAN by IP→