Hey guys,
I am not sure if this is some settings i have incorrect but i can't seem to share menu's across mutiple subsites properly.
For example:
I have 2 sites, site A and site B
They both have a menu called "About us"
under About us, site A has "About A" and site B has "About B"
However under the About us menu, i want the link, "About A" to only show when we are on the About A site.
I can't seem to do this correctly, Right now on my About B site, the "About us" menu will have the items, "About A" and "About B"
However the node "About A" is only published to site A. When i'm on site B, i see "About A" on the menu that links to the "About A" page on site A.
What i am trying to do is have the menu to only display the content published to that site.
Similar to what multi-lingual sites where the menu will only display items that are linked to the appropriate language
Comments
Comment #1
agentrickardYou are probably viewing the site as user 1 or an administrator who can 'administer nodes'. Both of these bypass node access control.
Turn on the new 'Enforce Rules on Adminstrators' option described in 4.3.3 of README.txt.
Comment #2
tomho commentedHey,
thanks for the reply,
I found an interesting bug?
I enabled 'Enforce Rules on Adminstrators' and it is now working the way i want it to be as an Administrator!
However this does not solve the problem for anonymous users
I am logging in with another browser as an anonymous user but in my menus, i still see links that are associated to other domains and not the current one i'm viewing.
Odd, but we are getting somewhere!
Thanks,
Tom
Comment #3
agentrickardThat doesn't make any sense, unless you had caching turned on and cached the wrong version of the page.
Do you have any other modules that affect access control?
Note that you can also see links to other domains if those nodes are assigned to 'all affiliates'.
This is all very well tested and documented.
Comment #4
tomho commentedI figured it out,
Content Access is doing overriding some permission even tho i have not setup anything with it.
Now it works properly WITHOUT content access module, i'll see if they can work together with the proper settings.
Comment #5
agentrickardRead the section on Node Access in the README, specifically 1.3, 2.1, and 3.4.
Your basic options, ifyou want to use both modules are a) use the multiple_node_access patch provided in the download. b) Use the Domain Access Advanced module instead.