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

ChatBox working in Drupal4.7b2 but with a Bug in administration/settings

Hi,
I make a new site for chat with Drupal4.7b2.
All OK but I get an error in administration/settings:

"Fatal error: Call to undefined function: form_select() in /home/virtual/site56/fst/var/www/chat/modules/chatbox/chatbox.module on line 96"

ChatBox module of 22/12/2005

Site:
http://chat.fixweb.it/

I'm programmer but new with Drupal.

Can you tell me what to do in this case?
I have Need Chat in Drupal.

Thanks, Fix.

Flexinode's Image Gallery Field

I've searched the forums and the Internet for a solution to what appears to be a bug, but I can't seem to come up with anything.

I'm a new user trying to set up a blog using Flexinode (so I can define custom fields) and I'd like to use the image-gallery-link feature. I can add the field to the content type just fine, but when I try to use the finished form to create a node, the "Image Galleries" selection box will only list the root galleries. It won't list any of the nested galleries.

For example, say I have the following galleries set up (thanks to the Image module):

International characters in form_select?

Hi,

What is the correct way to have international characters (æøå etc.) appear correctly in a selection form? My options are hard-coded (that is, they are not retrieved from the data base), and entries look like

'key1' => 'value with æøå in it'

Currently, the special character is rendered as a question mark, and several succeeding characters may be gobbled (depending on the browser...).

I have tried coding the option values with HTML entities (æ etc.) but they get displayed as is, not rendered.

Thanks a lot,
Bastiaan.

Forms 4.7 trouble: best way to process a form?

I want a form to submit, update a DB record, then re-render itself with the new info in the form. I am using
function formname() {...}
to render the form, and
function formname_submit() {...}
to process the form. However I find I am unable to modify the form (e.g. add a hidden form field) in the
formname_submit() function. The problem: After the submit button is clicked, Drupal 4.7 seems to first execute the function formname(), THEN execute function formname_submit(). So you do not process the form until after you have re-rendered it.

Page not found error

Hello

I am new to the module development. I want to create a profile module.

I am not faimiliar with the various access in drupal.

When I created a path like below it works:

'type' => MENU_SUGGESTED_ITEM);
$items[] = array('path' => 'profiles', 'title' => t('user list'),
'callback' => 'profile_display',
'access' => TRUE,
'type' => MENU_SUGGESTED_ITEM);

where as when we give the path like that below, it wont works. It is showing the page not found error.

PayPal Subscriptions module - site IPN reply page is blank

Hi,

I have the PayPal Subscriptions module almost working but have one pretty niggly issue:

- The IPN return page that PayPal redirects to - http://%mysite%/paypal/ipn is blank/empty.

I'd expect this page to have something on it thanking the customer for their payment but nothing appears.
The rest of the module is working beautifully (thanks) : I do get notified of the payment and it does have a status of 'completed'. So the correct code is actually executed.

Pages

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