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;
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.
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?
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?
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.