0

Is it possible to disable the cache on specific admin pages ? I'm trying to hide some menu in "admin/structure/menu" but because it's for different roles, the cache has to be flushed to make it work.

Any idea ?

Cheers

3
  • I was doing this code : drupal.org/node/1218666 and before that I was checking the $user->roles if their was administrator among and display the new list of menu.
    – GwenM
    Nov 20, 2013 at 2:11
  • 2
    before that? you should be doing the check of the $user->roles INSIDE the callback...
    – Jimajamma
    Nov 20, 2013 at 2:59
  • Ah it seems that was the trick ! Thank you Jimajamma
    – GwenM
    Nov 20, 2013 at 3:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.