Currently I have a site with 4 image sizes (derivatives) including the original. So when I upload an image named example.jpg, this is what is created within my files/images/ directory:
I would like to add an additional derivative size 'full' to the mix(larger than the preview but with a limit, unlike the original).
Now here's the scary part. My 'images' directory currently has 283,120 images in it.
I am setting up a site that will have a admin running the site, several people creating and posting content and lastly users from the web reading the site. How would I go about setting up the Content creators so that they can create stories, edit stories, etc but not be so powerful as to muck with the modules and menus etc. In addition, the end users would need to have content creation rights in a forum setting but nowhere else.
I am trying to show a block based on the term of the main window.
Is there a way that I could call a function that would return the term or the term id for a node? If so then I could use that to determine whether or not to show a block.
$n = node_load(arg(1));
if ($n->type == 'forum')
This returns the node type but I can't find anything in the documentation about the node term. ->term doesn't seem to work.
I'm running IIS/Drupal and went and set permissions for the folder /domain-name/files to allow writing. so far so good.
I create a story node, then try to attach an image to it, i click "attach", the url when i mouseover the file afterwards points to /domain-name/files/image-name.jpg. When i click submit however, no file gets stored or attached to the file, and i also don't get any error messages.
Do i need to change permissions anywhere else? Is this related to temp uploads set in php as well, or is drupal separate?
I'm having trouble getting access control to work properly for some new user roles that I've created. I'm running Drupal 4.6.5 with taxonomy_access installed.
I have editing rights granted for these roles to edit pages, yet users with those roles set aren't able to do page editing. If I grant them node editing access, it works, but I would like to be able to just grant them page editing access.