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

Category, Drupal 4.7.2 and the new nodes

I tried CategoryThe Category module, both 4.7.0 and CVS, do strange things when converting existing stuff in Drupal 4.7.x. There are many options in the Category module Vocabulary import and Book import. Can those options be set to change the current behaviour the following way?

VotingAPI

I recently installed votingapi in my modules.

When I go to the main page with stories or click on a story, there is no option to vote. Did I miss something?

Thanks

Help in converting a module to 4.7

Can anyone help me modify this form_textfield from 4.6 to 4.7?

I know that there's a standard formupdater from lullabot that I've used, but I don't think it applies in this case.

So if anyone has any ideas or help, it would be much appreciated.

Thanx.

Albert

video module

've just installed the 4.6 version and the video module but the mysql server isnt able to reckognize the video.mysql file contained in the package. here's the error:

user error: Table 'vegedb02.video' doesn't exist
query: SELECT * from video WHERE vidfile = '' and nid <> '0' in whole path on line 66.

Please help with javascript and Drupal

Hello, first of all, I have a javascript, and I want to insert it in Drupal. The javascript shows/hide a

tag when a link is clicked . ( onclick atribute).

OK, in my module, I add the Javascript with drupal_add_js, and the link is something like this: "<a href="#" onclick="show('the_class_atribute_of_the_div')">Show</a>"...
But nothing happens when I click on it.

I tried also this : "<a href="javascript:show('the_class_atribute_of_the_div')">Show</a>"

Help With hook_db_rewrite_sql Please

Hi, I'm writing a module for 4.7.2 and I want to have two permissions: 'view own entry' and 'view all entries'. I've implemented this in the hook_node_access function with no problem, but pages promoted to the front page or any lists are still visible.

A bit of searching showed me I need to use hook_db_rewrite_sql, but this is where my knowledge of Drupal and my ability to follow the documentation crumbles. I think I understand the purpose of this function does but not fully enough to begin this bit of my code.

Pages

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