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

Aggregator with moderation

Hi there,
I wish to know if there's a module like an aggregator but with moderation features.
I have to aggregate some feeds but I want to select which items I want to publish on my website.

May somebody help me?

Best regards,
Tixx.

Upgrading a Module to 4.7? (CV Builder)

What is it that needs to be done to upgrade a module to 4.7? I remember something about converting something to use the new Forms API, but I don't know if that is all.

The module I am considering filing patches for is the CV Builder module. There are already two issues for bringing it to 4.7.

Any info on it's status would be helpful, also.

Q: Input Format Filter Not Working

I was wondering why I can't get my form filtering to work on my module. I would assume it is supposed to be storing the info somewhere on the database but I'm not sure where. Here is my code:

  $form['body_filter']['bio'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->bio, '#rows' => 20, '#required' => TRUE);
  $form['body_filter']['format'] = filter_form($node->format);

Any help would be much appreciated.

Select images from a category

I want to select all images from a certain category (category module) for image gallery kind of thing. My plan to solve this;

1. Select all nodes from a category
2. Check which are images (image module)
3. Use them

Or is there any better way to solve it?

I'm not requesting a piece of code (althou it would be nice ;), but just some points in the right direction (function names?).

Cheers Johan F

Preventing the delete button showing for OG administrators

Hi Folks

I would like to prevent the delete button showing on a edit page for og administrators who did not publish the content.

Here is what i know so far ...

From node.module i can see that we need to have node_access('delete', $edit) return 0 for our case presently it returns 1

function node_form($edit) {
..
1364
if ($edit->nid && node_access('delete', $edit)) {
$output .= form_submit(t('Delete'));
}

after looking at node_access

function node_access($op, $node = NULL, $uid = NULL) {

Non Node module using form API to get information from custom nodes..and display it .(in an MS Project Module)

Hello,

I've successfully developped a set of custom node modules:
-One to upload an MS project xml file (generated from a little javascript script), for me as a team leader
-Another to allow my team members to create their weekly: It create a 'team_weekly' node with the task list that are in plan for the current week and the current user, and using a "dynamic" form (form API drupal 4.7) collect their working time for each tasks + some other custom fields for our corporate weekly template, everything ends in a mysql table.

First thing : I was new to php/mysql/drupal (but a long time C/C++ developper) and the drupal framework seem sto be pretty straight forward, even if I've started with a "not so simple module :-)" so kudos to you guys.

Second step: I want to create some "team tracking pages" in which I want to :
-display a form that has fileds like how many weeks? Which resources?. and a submit button.
-at submit, do all my own db queries ... and display the results.

And it is where I'm pretty stuck: I can't find what type of module I have to build.
here : http://drupal.org/node/55868 there is an example of a "block" module. But in my case I would need a "full" page module, with a two steps approach (first fill in a form then submit then display results).

Any help, pointer to existing module/example would help me a lot as I don't know what to start here.

Thanks for your help.

Pages

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