I am writing a module to extend a already existing node type. I followed the pattern of using a form_alter to add some elements. Now I want to add some validation logic also. So the handbook suggested that it should be done in nodeapi under the op 'validate'. The problem is that nodeapi in my module is never called with op = validate !
I did some investigation and this is what happens. in the node_form of original type, '#validate' is being explicitly set to node_form_validate. If I remove that, everything is fine and my nodeapi is called with 'validate' op.
I have created a "test" drupal site that has blogs,news and forums etc.The only thing that I need now is a good front page.
I understand that the front page is a collection of Blocks that show teasers of news etc .I was wondering if there is a 'nice' module that helps in creating a good front page.
If not a module any example or help will go a long way in helping me out.
I'm having an issue where I have a custom content type, and file uploads are enabled for this content type. Only users of a specific role can create this content type, and the file upload is restricted to PDF files.
However, I am able to upload the full gamut of allowed file types. I traced the issue back to the upload module: