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

#after_build called twice?

I am using '#after_build' in a form to install a function that is called after submitting the form but before showing it. Why is it called twice? (Once with the submitted form values, once with newly initialized form values?)

Maximum number of words in a flexinode posting (or any node)

Hi,

Is there a way to limit the maximum number of words that a user can enter in a textarea that is part of a flexinode or a simple node. I want to be able to limit the maximum words according to user role, or per specific flexinode, but can't seem to find anything by searching.

I was thinking I could write a javascript and embed it in the specific flexinode, that would check the number of words when the user pressed submit, but I have limited knowledge about programming and can't seem to find the flexinode file (i guess each flexinode is constructed in the db).

Managing Project Releases

Ok, a couple questions regarding the new system for releasing projects. Is it advised to create a new release for every patch? I can't imagine wanting the default release to be a version of the module that doesn't have the latest patch... And how then can I delete old releases? I don't see any way to get rid of the old ones. If I'm making a new release for each patch or major version, it seems the list would start to get cluttered and really be unhelpful.

AmeriCorps CTEP VM

Reading Search Speech Lab Resources

Online References Tools ESL Websites

Hot Potatoes-Beginner-Low Beginner ESL

http://www.marshalladulteducation.org/student_lessons1.htm

ESL/EFL Activities-Intermediate-Advanced ESL

http://a4esl.org

Reading practice-Intermediate to Advanced

ESL

Unsupported operand types with hook_load

I'm currently developing a hCalendar module, I've got my form working for entering the details, but when I hit submit, I get this error:

Fatal error: Unsupported operand types in C:\apache2\htdocs\nhm\modules\cck\content.module on line 230

The function where the problem is is below, and line 230 is return $t; Can anyone see why I would be getting this error?

Location, URL, are varchar, startdate and enddate are int fields, and timezone is an tinyint field.

Views without Group content displayed

I would like to create a view with the views module for the default front page that doesn't display any organic groups content on our site. I don't want to create custom content types and want to use the existing content type available. I have been looking at the views' filters for awhile now and so far I have not been able to figure this out.

Any one have any ideas how I might accomplish this?

Pages

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