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

array_shift(): The argument should be an array in /home/httpd/html/drupal/includes/form.inc on line 469.

So I am tryig very hard to fix this problem with the above error, but am at a total loss. Essentially I have a module whose sole purpose is to serve as a block that will display information from other modules. Roughly this well serve as a container for up to five other pieces of info. However, whenever I go to configure the block settings I get a white screen and the following error fills up my long:

Lost form values

I am using a menu callback function to display a form to a user. The form is passed through the theme_{function} functionprior to being displayed. When the form is then submitted the field data is missing in the {function}_submit function. However, if I comment out the theme_{function} then the field data is available. Has anyone had any experiences like these or have any ideas?

Markdown/Smartypants & Ordered Lists

Is it just me or is the markdown plugin ignoring ordered lists? When I try to do like I have in other cms, syntax:

1. List Item
1. List Item 2
1. List Item 3

Usually it converts it into a correct list. With just MD/SP on (no filtering or anything else in the way) this syntax is not working.

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.

Pages

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