Hi, I would like to create a new context in context module and set the conditions that only admin pages will be influenced. I need to display/hide some blocks in admin.

For now I created one condition "Path":
*admin/*
*node/add*
user

But after that I found out that I want to hide it also here:
http://**mydomain**/import/**whatever** (this page has authorized access only as well).

I could add one more path. Something like */import/* but I would like to find out if there is any other way to influence only admin pages with this context module.

Thanks.

D.

Comments

speedees01’s picture

update:
I cannot use Condition - User role - authenticated user.

I hide a part of menu in Condition - User role - authenticated user
but I want to display the part of menu with condition Taxonomy - "myTaxonomy".

Now if I view a node (containing "myTaxonomy") in the admin, the part of menu is not displayed.

paulocs’s picture

Hi,
this is because an authenticated user not necessary has permission to admin pages and the reaction will be triggered if the user is logged in.
What you can do add condition 'Paths' and 'User' and check 'Require all conditions'.

Maybe to late but if you still have problems, reopen the issue.

paulocs’s picture

Status: Active » Fixed
paulocs’s picture

Status: Fixed » Closed (fixed)