I can incorporate it into a body, but when I upload it into the avatar it's not animated, and there's no scope in there to add a link to the file, you can only upload an avatar.
I'm thinking of using hook_page_alter() to add an arbitrary datastructure to the page-array, so that my module can insert elements if needed. (would be under $page['content']['system_main']['nodes'][$nid]['body']['#items'])
If a module uses hook_page_alter(), will the output still get cached or does code in that hook run on every page-request?
I don't get it anymore :) Tried already a lot... but no luck.
Let say I create a form (CCK) with a radio-field "yes or no" and a second radio field "on or off".
Now I tried to set #states like ":input[name="yes_or_no"]' => array('value' => t('yes')) on the second "on_or_off"-field but... grrr :) no luck.
Created a module, used mymodule_form_alter to set the states but I think I do something wrong, can some1 give me a hint.
I do not want to create the complete form in mymodule, its to big for that, that's why I tried it with form_alter.
I need a CMS that would need to hold massive amounts of data (about 200,000 records, with lots of metadata attached to each record). I'm wondering if drupal is a good solution for this. I downloaded and installed drupal. I'm a little bit familiar with the module and node structure, and how node data is stored in the drupal database.
Is drupal a good solution for this magnitude of data? If not, does anyone know of a CMS that could be more better suited?