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

questionnaire module

I am working on a questionnaire module, which will redirect the user after login to ask a number of questions. This is easy to do using the _user hook. However, I would also like to be able to temporarily suspend a user's access to the site, so that, until they have finished entering the data, they cannot gain access to any site content.

Missing breadcrumbs and confusion in modules

I have been trying to get breadcrumbs to appear in all main module pages. I am confused as to what criteria determines if it should appear or not.

0 = none with no code on search
1 = appears

Home = 0
archives = 0
blogs = 0
books = 0
files = 1
polls = 0
search = 0
forum = 1

Can someone explain why this is this way and how I can get it to work in the modules?

Forum.module: redundant database table in 4.4?

It seems that two separate tables, namely term_node and forum, both keep two columns (nid and tid) defining bindings between nodes and specific taxonomy terms with which they are associated. Is there a reason for such duplication of data?

node_page_default and nodes with limited permissions

Drupal 4.5.x.

I am writing a node module in which not everyone will have read access to all nodes. This I have implemented with the _access hook for argument 'view', and it works well.

The problem is the front page. The node_page_default() routine does check node access using the new node access API, but does not use the _access hook. This means that new nodes will be published on the front page, and a user can read the 'teaser', but if he clicks on the node, he can not read the 'body'. This is a bit weird.

Yet more stupid image_module questions

I have no idea what is wrong. I installed the module, per the doc, and then tried to upload an image. I get the "Your image was created" message, but what I see where the image should be is the dreaded box with a red "x" in it. Looking at the box properties, I see the path for the image. Checking via ftp, I see that the image is indeed at that path. So, why doesn't it show up? Is it a permission thing? I CHMODed everything in the image paths to 777 and still no luck.

Changing output to webform.module

Hi, I am trying to change the HTML produced by the webform.module

So far, I want to avoid tables and use divs and spans... I tried to change the code in misc/html.inc, but other that nothing happens. It still show the form using the table. Even by re-posting the form I have the same problem

I changed the code on this way:

Pages

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