Recently I encountered a situation with a contributed module which need a bug fix. Fixing that required to identify URI of an entity with entity type given. As we all know, most of the entities will have a 'view' page. For nodes, it will be node/<nid> (where nid is the id of that node). But it will not be of same pattern for other entity types. For example, URIs of Commerce Orders are of the form admin/commerce/orders/<order-id>.
Read more →
We may encounter with situations that require files to be attached to node programmatically rather than user uploads it. It will be the usual case if the file is generated by the system itself.
Read more →
Rules are a powerful module, which can be used to construct very complex workflows within a Drupal site. Several of contributed modules comes with pre-built rules as part their functionality. Sometimes we may need to disable rules brought by some contributed modules that we used in our site. Disabling a rule through configuration is very easy, just go to rules configuration page, then clicking on 'disable' link work.
Read more →
Drush is powerful command line interface to Drupal. It comes with a set of pre-built commands to manage Drupal installations from command line shell. Especially, you will find it very useful while performing tasks that do frequently like clearing cache, running cron, setting and getting of system variables etc. It is a must have tool for Drupal developers. Drush is also highly extensible. You can develop commands specific to your project or system wide.
Read more →
phpMyAdmin is one of the widely used tool while developing database centric application using MySQL. Developers frequently access it while developments are going on, to check the values or manipulate data within database tables. By default, we have to login before accessing the databases. It becomes tedious when we perform login frequently.
Read more →