I'm trying to handle the case when the user is leaving the title field empty, by generating an title from the body (quite like the comments are functioning).
I try to do this by using 'validate' in nodeapi.
My problem is that while I'm able to generate and inject the generated title - but I have not found any way to reset the error. All errors are collected in a static array inside form_set_error.
Is there any way to unset a value in such an array?
If I set up a user group to allow them to upload files (such as images), does that file become attached to the user? By that I mean, if I were to later in time delete that user, would the files he/she uploaded also be deleted, or would I eventually end up with a folder full of miscellaneous files that I would have to sift through?
Sorry to post this dumb topic, but I've been searching a long time. I've found all the other OG modules, but when I search for the OG_forum module, I only get the handbook and no link. Anybody know where I can download the og_forum module?
i got the following warning after installing the project module into 4.7.2. is it a big problem?
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer.
I'm creating a custom document repository module that enables users to associate any number of files with a node. The files are accessed via a "documents" tab which consists of subtabs "list documents" (default) and "add documents".
The module is coming along nicely and I am now considering how to implement the access controls. The most obvious access controls are