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

Problem getting block settings to save

Hi All. Happy Halloween!

Im currently working on a module and cant get the settings from the block configuration to save. Perhaps you can take a look at my code, and point to what I might be doing wrong. After clicking on save in the bock configuration, the row is created in the variables table like it should be, however the value for the row is being set to N;

http://www.codedemons.net/pb/?show=6898

I've looked at other module's block configuration code, and don't see any difference.

onchange dynamic selectbox value return

i have 2 selectbox's in the first selectbox there is a list of country's from db.
When i select a country i want the second selectbox to fill with city's.

So i want a onchange action on the first selectbox. When a selection is made, i want function city() to be called to fill en visualize the second selectbox.

Insert image into form

Hi,

I use Drupal form API, I would like to put an image into a form to display a preview of a file input value.
Is there a way to insert a picture into a form?

Regards.

rights for file system

what rights do I need for files--specifically images? Flexinode stores images in the files directory. I'm told the files dir needs 777 and when it creates files owned by 'nobody' that it's the same as 777. Isn't that a major security vulnerability? What keeps people from jacking up files?

Jay

read-only form fields?

Basic Form Questions:

Is it possible to display form fields which are disable by default?

How do I re-enable them ?

How do I create a form that will allow to submit on the fly without reloading the page? Is it simple or is it better to wait for 5.0?

I tried using the forms API and change the field type from 'textarea' to 'item' but nothing is displayed.

Thanks

Amnon

multiple nodeprofile

Hi,
I'm about to create a new site with more than 1 "sub-systems" (i.e shop/blog/dating & others).
I would like to create a unique user profile for each of those "sub-systems".

It will work like this:
a user that wants to be a 'part' of the site would have a regular (basic) user.
a user that wants to be a 'shopper' would have it's basic user expanded with a shopper-nodeprofile.
a user that wants to be a 'blogger' would have it's basic user expanded with a blogger-nodeprofile.

Pages

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