We'd like to use Drupal as our main intranet platform. There's a simple feature (at least to me) that I can't find. How can I restrict book access to a role? I've found the nodeaccess module but it only secure one node. All children page are not protected. Manually protecting all pages is not an option (some confidential data could be made public by mistake).
In the thread http://drupal.org/node/116462 , I had some questions about getting my Drupal site to recognize an old directory of static pages. Not succeeding at various approaches, I'm trying one suggestion: placing the old directory in a subdomain.
Having discovered that old-fashioned 301 redirects don't do the trick under Drupal (or so I'm told), I implemented a RewriteRule in my .htaccess file, per this exchange in the thread http://drupal.org/node/16084 :
-------
Q: I'm pretty ignorant in this area, but one benefit of the redirect is it could redirect any file in a directory to the same filename in the new directory. Is it possible to do the same with the rewrite?
So, I dropped my directory "old" under a subdomain of my "example.com" site, confirmed that http://subdomain.example.com/old/ does indeed work, and made this rewrite:
"warning: Invalid argument supplied for foreach() in /home/modules/user/user.module on line 1506."
When I hit editProfile.. There's another huge series of errors that follow ..
"# arning: Cannot use a scalar value as an array in /Home/modules/jstools/jscalendar/jscalendar.module on line 66.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 779.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 780.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 783.
# warning: Cannot use a scalar value as an array in //Home/includes/form.inc on line 795.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 800.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 648.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 774.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 779.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 780.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 783.
# warning: Cannot use a scalar value as an array in /Home/includes/form.inc on line 795.
I have drupal 5.1 up and running and downloaded the Pathauto module and a few others. I placed them in the new suggested location for modules (/sites/all/modules/), or rather put a symbolic link there to the actual location.
This worked for fckeditor and pfdview, but pathauto does not show up in the modules list. What am I missing here?
I have created a new content type called "Library." It is exactly the same input form and layout as a "page" but I have added a Category selector, which uses a defined vocabulary (e.g., Category 1, Category 2, etc).
I would like to create a main section page such as CATEGORY 1, that simply contains all the articles of type "Library page" that have been categorized as Category 1, for example.
I'm sure Drupal 5.x must have this built in, as I am hoping not to have to do PHP code (I'm not a programmer).
What I am trying to do is have a side Menu as follows: