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

Ordering of functions in module?

What order should functions be in in a module? Or does it not matter? I couldn't find anything in the handbook (sorry [very sorry] if I missed it there, and this is a needless post).

Filemanager (attachment + acidfree problem)

Hi.

I'm completely stunned after trying to get the filemanager module working with acidfree (also tested with attachment module, with the same result).

I did this:
1. Installed filemanager, acidfree and attachment modules (setup database for every module).
2. Entered the correct settings for all the different modules.

When I try to upload a image (acidfree) I get the following error:

File copy failed: no directory configured, or it could not be accessed.
File copy failed: no directory configured, or it could not be accessed.
File copy failed: no directory configured, or it could not be accessed.
(yes, 3x times. only one time if using attachment module)

I figured that it had to be my paths in admin/settings/filemanager but all the paths are correct and the folders have the correct attributes (apache writable). Acidfree have actually created the working/0/ folder, but it cannot upload / save the actual images. I have tried both relative and absolute paths and have made sure that the public url is correct and working.

When I try to upload a image everything works, except that the image is not saved to disk. The image node is saved and working. Just the image missing.

The drupal log shows nothing except:
2005-11-18 22:35 acidfree: added Test

No error messages in the log.

I am using latest version of drupal (6.4.3) and the latest version of all the three modules.

Is there a way to randomly display different sidebar blocks to give a more dynamic feel?

Hi all,

I was wondering if there happens to be a way to allow for either random or rotation of a block displayed in the sidebar. Specifically, i would like to rotate through different "link ads" on the right sidebar to give the site a more dynamic feel.

Any suggestions would be appreciated (and I appologize if i have missed this topic in the forum)

Thanks!

Sam Gilman

Problem in a 2 node types module

Hi!
I try to develop a module (competition) which define 2 new node types (competition-player and competition-team). So i define the two next functions :

Flexinode event type

I'm trying to create a new content type using the flexinode module for events for the event module. The biggest problem I'm having is that the "Start" and "End" fields always show up at the bottom, below my description field. I tried setting the description field weight to 10 and that didn't help at all. I'm letting the event module inject the two fields into the creation form. I tried adding them to the node content type manually, hoping if I had a "Start" and "End" field in there then the event module would use those instead of injecting it's own, but that didn't work.

CVS commit question... Is that all I do?

Okay feeling pretty stupid so I've got to ask for help...

Pages

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