Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Running Drupal 5 RC1, I have a custom node type with a template file which works fine when I'm logged in. In the teaser view, I'm using this code to generate a link to the full content:
I had recently created a custom module for Drupal 4.7.4 which worked perfectly. Then I switched my Drupal over to version 5, which went fine. Then I followed the Module conversion information for 4.7 to 5, but after I finished I couldn't get it to show up in my Drupal 5 modules section. It won't list it, is there something I'm missing? I added the module.info file, but still nothing. I even checked it against Drupal's core Blog module, and I can't seem to find the issue. If anyone has any insight, I'd greatly appreciate it.
I have an hook_validate that check if a value of a textfield is already present on the db.
This is ok when i insert new nodes.
But when i edit an existing node the validation fails because i'm eding a field already present.
I could switch validation between update and insert operations: how could i do that?
Thank you
I just posted what i hope will start some discussion on a path that i think the CCK project needs to take. As it properly should be posted as a feature request under the CCK issues tracker - that is where i put it: http://drupal.org/node/104339.
But, since there is pretty limited visibility to the issue tracker i thought i would x-post here as well.
Feel free to give general comments on this concept on this thread.