Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Hello I have installed the Ecommerce module on a clean Drupal install and I was wondering if there was a way to make the "product listings" that Ecommerce lists to list horizontal instead of vertical? I cant find out how to do this in any of the settings. Thanks!
I'd like to access the $user object from a custom module. Unfortunately it's out of scope. How can I load the $user object for the current authenticated user? Or are there access functions I can use to determine the username and the uid?