This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Adding additional fields in Views

Hi. I would like to add a field which displays a node's status using Views. What I did was:

Added this in function node_views_tables():

'status' => array(
        'name' => t('Node: Status'),
        'sortable' => false,
        'notafield' => true,
        'handler' => 'views_handler_node_status',
        'help' => t('Display the status of a node.'),
      ),

And added a handler:

Trouble installing Fivestar module

Hello...

In attempting to install fivestar to my site, I first downloaded the voting api and view modules, then uploaded these modules into my "modules" folder.

When I enabled these new modules in my admin section, the site showed a one-line fatal error message. Please note: the "view" module actually had 4 or 5 different sections to enable in my admin area - I wasn't sure which one was necessary to enable for fivestar, so I enabled all of them.

Any thoughts on what I am doing wrong?

I would really appreciate anyone's help with this matter.

How can I use other modules from within my own module?

I am new to drupal and are using drupal 6. I know some of the stuff I'm asking about is not yet available for D6 but don't worry about that, lets assume its like version 5 for sake of ease.

I need a fairly complex module and I have some questions before I feel I can really dig into it. I'll start by explaining what the module should do and then I'll ask the questions.

It's a fast search module for searching items. The search is going to be ajaxy with heavy optimizations using memcached amongst other things. Thats the base of it.. and I will write that myself since I haven't found anything to help me there.

But once someone clicks one of the searchresults it should get the information for that node with ajax and display the information in a nice looking way.
Then any user who is logged in should be able to click edit and edit it (like wiki) - should also be able to create new.
When a user edits and saves it we need our own code to execute to make sure it backs it up for rollbacks like a wiki system.

Thats a very quick explanation of the module and I guess my questions are really all related to if I can use another module from within mine, like can I have cck edit and add data for me but still save backups so I can do rollbacks? The save and update also needs to be able to call code to update the memcached.

WYSIWYG HTML Editor for Drupal 6

Is there a WYSIWYG HTML Editor available for Drupal 6 front end?

WYSIWYG Editors are so crucial to CMS projects. I'm
surprised they are not listed in a category for themselves.

I tried to install WYMeditor and get an error stating
"This version is incompatible with the 6.0-dev version of Drupal core."

Module Request: Shop specifially for online gaming

Basically, here's what I'm looking for, in a nutshell;
- The ability to use several forms of currency simultaneously (gold, platinum, etc.)
- Lets several users upload items to sell (with payouts going to their respective uploaders)

That's the most I can think of at the moment, basically I want something like the e-commerce shop, with the aforementioned changes as well as the ability to have small pics for the items (however, this is only one of my many hopes, it isn't a requirement).

If I think of anything else, I'll add it...

jRating doesn't allow to vote on nodes once 1 vote has been cast

Hello!
I use votingapi+jrating on my website. After the website migrated to a new server (at the same hosting provider), the rating system stopped working properly. Now, once someone has voted on a node, nobody else can vote on it, it appears as if every other user has already voted on this node. If I log in as Admin and vote on a node and then log out, then one more anonymous user can vote on it, and afterwards no new votes can be cast.
Voting permissions are turned on for both anonymous and authenticated users.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions