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 tested some stuff and i still dont understand the difference between the three forms of Integer and Decimal fields. Why do you need those if u can use Text : Select list / Check boxes&radio buttons / Text Field ???
The "Autocomplete Text Field" was another thing that i didnt fully understand...
I want to have a user upload an image with their new node and use that image as it's icon.
I need to move the uploaded file to it's own directory, resize it, and put it into the page.
I have mimicked the upload.module form set to look the same as the "File attachments" and the file uploads fine. But I don't understand how to access that file from here. I looked at the handbook but am unsure how to get the file location and perform actions on it. Should I do everything in the hook_validate() function?
Hi all. Is there a method to disable the choice about input formats in a
node ?
I have my node type (zbnews), my module (zbnews.module) and a new input
formats for it (zbnews-inputformat). Now In the "add" form I want to
disable the choice of input formats or display only "zbnews-inputformat"
input format.
Are there any kind of tutorials available for Aggregator 2? I may be having a bit of a thick day, but at the moment, I can't get it to do some of the[i] simpler [/i]tasks that the old Aggregator module does.
E.g. What if I don't want to show things according to category, I just want to show all feed items (as anabaptist.co.uk/aggregator does)?
Does it work as well with the Category module as with simple Taxonomy?
I started doing an image gallery port for use with categories when halfway through I started looking at the views module code and realise it would be much easier to add it as a display format for views, therefore being of benifit to anyone who uses views OR the category module (which in turn can use views).
The theme function that generates the teasers in a gallery format is pretty much a straight copy of the existing image code, stripping out the breadcrumb and category link code and using $output instead of $content.