Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am using the image.module 4.7.x to have images posted on my site. If a user uploads an image with the image.module that is larger than my php.ini settings (currently 2mb) I get the warning:
The selected file /var/www/files could not be copied.
Subsequently, within my /files/images/ folder this creates files, files_0, files_1, etc... with 0kb file sizes.
Also, a new node is created with just a title (and any body text if it was entered), but no image.
Does anyone have insight into how I can print a nodeteaser (nodeteaser.module) teaser in the BODY of a node?
I've written custom teasers using nodeteaser for hundreds of nodes, and had only been using them in teaser views up to now. I'd now like to display them in the body of nodes by calling them from my node.tpl.php files (and apply stylesheet-based formatting to them.)
I could use any advice in full php snippet form, as am not very PHP conversant myself. Thanks in advance.
I'm working on an MS Access style CCK subform field type.
what i've got done so far:
interface for creating and naming relations between content types
a selectable/configurable field type that allows you to select a relation to display, and will display/allow inline editing and creation of "child" nodes of a type specified by the chosen relation
So I remember looking at the book structure of my friends website, and noticing how nice it was. Then when I started creating my own book and made a mistake in nesting the pages correctly, I noticed what a pain it was to change each page, especially when I had lots of pages to change.
So I had the thought that a GUI would be really cool for changing this more easily.