This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

one 'create content' page for all 'file' based content types

A site that I'm working on requires one 'create content' page for all file based content types. So, rather than clicking on "create content" and then selecting "image" or "upload file" there would be one option called 'upload'. Using this option, users would be able to upload 1 file of any type (i.e. any of the various image, audio, video, etc. file formats) OR 1 zip file containing any mix of these files.

I've searched around the forums and CVS repository but have yet to find modules or code that handles any of these requirements. Before I began working on this myself, I wanted to ask around and see if there is existing code to handle this or similar functionality, and if not I would appreciate feedback on the idea/best approach...

There is a subset of options/inputs that are consistent across the various modules that implement these types (image, filestore2) which is all I need/am interested in: title, n taxonomies, file upload, and description.

I would like to use as much of the existing modules/code as possible. Error handling the batch upload process might prove tricky, but I'm hoping that with minor changes to the existing modules, and little additional development, I can accomplish this project in a day or three.... I'm thinking the best (or least quickest) way to approach this is to create a new module which would present the above listed subset of options via an input form, and then based on the file that was uploaded, broker the request(s) / call the appropriate module(s) to validate and process the information/file(s)... however extending filestore2, to include the image module (or vice versa) in the additional functionality described above is an alternative approach that I'm considering (i.e. it seems logical that the filestore module should handle all files)

inline smileys

I'm using the pushbuttons theme and the style.css defines

img {
  display: block;
  border: 0;
}

So the smileys always appears in a new line.
I had to change the smileys.module and include an [code]style="display: inline;"[/code] into each img tag. The changed function ended this way:

online now flag in user list

Hiya guys,

Have serached for this and haven't found anything useable.

Is there a piece of the WHO's ONLINE script I can paste into the USER.MODULE or adapt in my php template that places an "online now" or "not online now" flag in the User List?

Thanks in advance for any pointers/tips..

Dubliner

tiny module that puts toolbar buttons on textarea's

Htmlarea was just too much, so we have written a tiny module that puts (B)(I)(link) buttons under every textarea. The code is actually from metafilter.com. hence the name is mefiarea.module. it can be found here.

help need to develop ad authentication

Hi all,

I have cobbled together a function which returns an email address if ldap authentication with our active directory is sucessful.

Connecting Drupal Blog to Existing Blog

First off, I'm a complete newb.

I'd like to add a feature to Drupal's blog module that would allow users with existing blogs to easily connect the two. Consequently, when a user posts in his/her existing blog, the same post shows up in Drupal's blog. First question--does something like this already exist? Wouldn't want to re-invent the wheel...

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions