Part of Drupal's core functionality is it's complete control over URL's, such that http://www.durpalsite.com/node exists even though the physical file directory /node does not. Unfortunately, this causes problems in certain instances.
I have downloaded and initialised the node_privacy_byrole module and get the error mentioned in projects » Contributed modules » node privacy byrole » issues (http://drupal.org/node/11834 ). How do I apply this fix? (or for that matter any patch as it seems most of the things I need to add to Drupal if I am to use it need patches so I better learn quick!)
It is specified in the changelog that this feature is included with 4.5..
I can't find it..
is it me doing somthing wrong or is it simply not there?
Thanks
Roy
I was trying to create a custom block, from information received about how to make the navigation block appear *only* for registered users.
The code was
global $user;
if ($user->uid) {
if ($menu = menu_tree()) {
return $menu;
}
}
Unfortunately, it totally snarfed my drupal installation; accessing any page henceforth would give me only the message: "Fatal error: Call to undefined function: menu_tree() in /home/xand/public_html/includes/common.inc(1884) : eval()'d code on line 4"