Is there a way to customize a edit page form in Drupal depending on the menu link ? (or by passing additional parameters to the edit page url ?
i.e. I have a children “Add new product” item in both menu items “Catalog1” and “Catalog2”.
I want to hide 2 different CCK fields in the product content type depending on which menu item has been clicked.
Or eventually can I pass parameters with the url ? and use these parameters in hook_form API to decide which CCK field to hide ?
Thanks
I’ve actually solved by passing an additional php parameter from the menu item “Add Product” stating which catalog it should belong to.