IdeaTorrent

  • demo
  • documentation
  • downloads
  • our own ideatorrent
  • community
  • report a bug
Home › Forums › Administration

Integration with Views

jgreep — Wed, 12/02/2009 - 18:15

I'm creating a site where I need to be able to include Idea postings alongside general forum topics in a type of newsfeed display.

I'm using the Views module to create the display, but am unable to see any of the ideatorrent data available to include. Any suggestions?

I'm using ideatorrent-0.9.1 on Drupal 6.

Thanks!

‹ Georgetown South Carolina Jobs Default filter ›
  • Administration
  • Add new comment

Fixing ideatorrent's built in Views class

belthesar — Tue, 08/24/2010 - 05:03

I know this is REALLY old, but given that I had someone suggest the software for me to install, I thought I might post a solution to this. The rewrite was going to fix a great deal of this. To get around it, however, you need to edit some files in the ideatorrent module folder.

Files to be edited:

modules/ideatorrent/view.php
modules/ideatorrent/views/*.php

In each of these files, replace each occurrence of View with idtView.

If you have shell access on *nix with sed installed, this should do the trick:

sed -i 's/View/idtView/g' /path/to/drupal/modules/ideatorrent/view.php
sed -i 's/View/idtView/g' /path/to/drupal/modules/ideatorrent/views/*.php

Replace "path/to/drupal" with the actual path to your Drupal install.

  • reply

Who is using it?



Ubuntu


Sourceforge


One Laptop Per Child


GMX


Public library of Charlotte, NC, US
  • demo
  • documentation
  • downloads
  • our own ideatorrent
  • community
  • report a bug