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.
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.
I'm creating a module to use transparent menus (TransMenu) originally written by Aaron Boodman (www.youngpup.net).
This is almost done. The basic proccess is ready. I need to implement the user to choose colors to set that up using the color picker not just setting some text fields in the block configure form. How could I do it?