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

Help with drupal_retrieve_form / Form API

I want to retrieve the array version of a node form using drupal_retrieve_form. I wrote this quick test function to see if it was going to work:

Events filtered by group in menu

Hi.

I have installed Organic Groups and Events on my site. I want to add a menu item so that people will be able to access the group calendar from any page, but I'm not sure how to do that. I can add menu items going to specific calendars, but I want the menu to just show the calendars for the groups the user is part of. Right now it shows all menu links, and when you click on calendar for a group you don't belong to, it just tells you you don't have permission.

Also, when viewing the calendar, is there a way to filter by group?

Thanks

Category on User Profile Form

Hello:

I'm at a loss as to how to get a custom form for a user profile to appear under its own category in the Edit tab for My Account. I've developed a module that alters the user registration form and saves custom data. When the user goes to edit their account (under My Account) the custom form is displayed under the 'Account Settings' category. How do I get the custom form (developed in a module not using the Profiles module) to only be displayed when a user clicks on a category.

Module to replace comment module in 4.7x

I am creating a module for a company I work for for drupal 4.7x. I am trying to create a module I call the reviews module that mimics the capabilities of the built-in comment module, except I want to add the ability to provide a 5 star rating system. I have it working now so that when creating a new node it displays a review settings section, just like the comment settings collapsible fieldset, for setting disabled, read/write and read only. Once new content is created with the read/write permission of my reviews module, when navigating to that node I have successfully gotten my "post a review" link to show up right next to the add new comment link provided by the comment module. When I click my "post a review" link, my module successfully takes the user to a page to create their review and post it. Posting the review saves it in the database correctly. This is where the problems start. Similar to the comments module, I want my reviews module to display the user submitted reviews in a fashion similar to the built-in comment module except I don't need threading or anything like that. I noticed that in the node module it specifically calls comment_render to display all the comments. I would rather not have to edit any core module so that I can maintain portability of my new module.

display debug every page

I want to show some debug information similar to the devel module. I noticed that the queries displayed from the devel module do not reuire the user to enable blocks or anything. How is this done -- displaying content without adding a link or enabling from a block? This is day 3 for me using Drupal so I apologize in advance for my "newbie-ness".

Job Search Module

Hey there I have been looking at the Job search module, as it seems to do everything I need however I cannot get it to work, applications dont seem to get created and the jobs cannot be found unless you look in administer.

can anyone help me to set this up or recommend an alternative

Thanks

Pages

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