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

Change the directory to upload from diferent flexinode (see post)

(please sonrry for my poor english)

I´m trying to modify something to flexinode so from diferents flexinode an attach upload is save on diferents directories....

It is posible ? what i would modify ??

thxx

#validate has no $edit parameter

Hello Drupal Cats,

I am using the #validate key in a form element to validate a 'Province' select box.

In order to check the list of legal values, I need to know what was selected in the 'Country' select box.

The function that #validate refers to receives only the $element as a parameter. I have tried to add $form['location settings']['profile_country']['#value'] to the parameters list, but it does not send anything through.

How do I access something like $edit within the #validate function, like the #submit functions have?

Assignment/Task Module Plans - Suggestions and Advice Wanted

I'm planning to develop an module that allows users to manage assignments/tasks. I don't have a very succinct description of what I want to do, so I'll explain my motivation: I manage a website for my class at university, and I want to come up with a way to integrate assignment due dates into our website. "Assignments" will be a bit like events, but with only one date field (the due date).

Students in my program take a lot of core courses, but I also want to handle courses that are only taken by some students. My plan is to have users select their courses in their profile, so that they only see their own assignments. I want to make a block listing "This Week's Assignments" for students; assignments may show up in the calendar too. Users posting events would be required to include the applicable course so that the module knows which assignments to display to which people.

Even though I'm developing this module for my situation, I'd like to hear if anyone else things something like this would be useful to them. I'd be happy to design the module in a more general way, and incorporate some other features. That being said, I'm not going to make a module that suits everyone's needs. For example, I'm not planning to make something as big as the proposed Gradebook module.

If I have the time, I'd also like to make the "This Week's Assignments" block into a ToDo list, preferable one that works with AJAX. Each assignment in the list would have a checkbox. I'm not very familiar with AJAX and Drupal, so I don't know how feasible this is.

is possible activate two modules?

hello
I need to activate some modules 2 times, i mean, i need to activate 2 calendars in same drupal installation, anyone can help me?

thanks

CCK hacking

I've got an idea...but I need to bounce it off you guys first.

It revolves around CCK and how much I like it. The one thing it's lacking for me is that it doesn't work with the taxonomy_block.module.

I've figured out why: Taxonomy_block joins node to node_revisions and looks for the existence of a teaser and a body.

Since CCK abstracts itself out of the traditional node/node_revisions table structure, those fields are empty for any nodes I've created using CCK.

Is it not possible to create a view that sorts by flexinode fields?

I would like to create a view that sorts by flexinode fields.

I thought views works with flexinode, but I don't see where to do that. I made a flexinode. I began creating a view. I wanted to add a filter that would be a term in a field of the flexinode. However, I see taxonomy terms that I can choose from for the filter. I don't see anything related to flexinodes.

I searched and didn't come up with anything.
I looked through the issues for views and found node 27661 where someone asked how to use views with flexinodes, but there was no answer.

Pages

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