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

select issue

I'm busy writing a new node type for use with the event and signup modules. This node will (eventually) include several fields for use in the calendar, as well as a function to define a minimum number of participants for each event. (So that when this number isn't reached by the time the notification is sent out, the event is cancelled and a different notification is sent) that's all still to come though.

Right now I have a (hopefully simple) priblem with just my form. I cannot seem to figure it out, so perhaps one of you can help me:

Given the following code:

$form['min_parts'] = array(
        '#type' => 'select',
        '#name' => 'min_parts',
        '#title' => t('Minimum number of participants'),
        '#value' => $node->min_parts,
        '#options' => array('0', '1', '2', '3', '4',
                            '5', '6', '7', '8', '9',
                            '10', '15', '20', '25', '30',
                            '35', '40', '45', '50', '60',
                            '70', '80', '90', '100', '250',
                            '500', '750', '1000', '1500', '2000'),
        '#description' => t('The minimum number of participants required to have the event go through'),
        '#extra' => FALSE,
        '#multiple' => FALSE,
        '#required' => TRUE
        );

and lower down:

<?php

Content Construction Kit Search Engine

Hi there,

I want to say that I'm very happy of Drupal and I use the CCK module to create many content types.

I have created a "special content type" that I use to create search forms for some of my content types. This "special content type" just store the information about the search form like the sort order, the searchable fields... Then I use a special theme to generate the form, validate it and query the database.

Banner Module CVS for Drupal4.7

Hello
I have installed the banner module CVS and managed to upload a banner
in the admin and set up a block with the php command line

return banner_display(); 

However I now get only

return banner_display(); 

in the block instead of the image.
Please see http://paratlane.net Left menu top.

captcha denying to a user without captcha requirement

I have a problem with the current captcha module. I have set it to require verification only from anonymous users and at registration. However when I sometimes try to post a reply I get an error saying that "The captcha verification code you entered is not correct" even though the captcha image and the verification field don't show at all.

This is obviously not right.

Any ideas?

Tinymce ediotr window to wide and blowing up my template

Greetings All,
I have new install of Drupal 4.7 with the 4.7 Tinymce Module installed and everything is working well except the TinyMce editor window loads up to wide and blows up my fixed width template. Anyone know how to set the width of the Tinymce editor?

Also the text in the editor seems to have some default courier font that is like size 9 or 10 applied to it... any ideas?
Regards

Q: Call $sidebar_left from node.tpl.php

Is it possible to call the $sidebar_left variable in my node.tpl.php file? Right now it only looks like I can do it in my page.tpl.php file.

Thanks!

Pages

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