> Will hack the core if I need to - taxonomy_form_alter() is called before
> mymodule_form_alter() so it doesn't matter what gymnastics I try in the
> module - the performance hit has already been taken.
Use the module weights module to control the order that hooks hit the
modules
>
> It's looking like it would be alarmingly simple to add something like this
> into taxonomy_form_alter():
>
> if($form_id == 'resource_node_form' && !user_access('full resource edit')){
> // strip out one vocabulary
>
If you're going to hack a core module, copy it into /sites/default/
modules and then edit it there - drupal will use the version in /sites/
default/modules instead of the version in /modules. That way next time
the site is upgraded your hacks don't get blown away.
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
To unsubscribe, reply using "remove me" as the subject.