Reputation: 150
I Want to use a module in drupal 6. There is a module called RABBIT HOLE which is only available for drupal 7.x. Is there a way i can use this module for 6.x. What will be the modifications i would need to do to the 7.x module. I have little knowledge about creating drupal 6 modules.
Upvotes: 1
Views: 40
Reputation: 96
Apologies upfront for not putting this as a comment (don't have the rep yet). I will phase this as an answer, hopefully it will help.
Looking at the Rabbit Hole (RH) module, it seems as though there is a serious emphasis on entities. Entities were introduced in Drupal 7 (see: https://drupal.org/node/1261744). As such, the way that the RH module is organized is around a data structure that simply doesn't exist in Drupal 6. Converting it would therefore require that you rewrite the module to use Nodes only, jettisoning the Entities api references.
There seems to have been some work done on porting it back to Drupal 6 though. I can't vouch for the release, but at the very least you can see some example code showing how a port might be achieved here https://drupal.org/node/1492304
Upvotes: 3