Sorry about the vague subject header. I have 2 questions which I hope experienced users can help me with please:
Background:
Garland Theme. I have removed all blocks from sidebar so that it doesn't show. I have placed all menu items in Primary Links. This gives more screen space for loading content into the drupal frame. I have made the site accessible only to account holders.
1. Some Primary link menu items show for annonymous users, but not all? I can't figure out why this is happening. I don't want any primary links to show for anon. visitors. Can anyone help please? (www.ostroff.co.uk)
2. I have a subdirectory on the main domain path containing generated content from a desktop application, which creates a series of web pages etc. I want to protect this behind the drupal login, so that anon users can't get to it. Any ideas please as to the best way to achieve this? Ideally I would like to load the index.htm file from the subdirectory into the drupal frame? There are hundreds of files in the subdirectory.
thanks in advance
Mark
Comments
How about password protecting the domain?
Wouldn't a better approach be to password protect the domain so only people with a password can access your content?
Domain
Hi,
sounds like the right approach, but as Drupal is in my domain root I thought that's what drupal was for. Am I getting the wrong idea here? What I currently have is drupal installed in the domain root, so that when people visit the site the first thing they have to do is log in using their Drupal account details.
Can I place this requirement at the domain level then? Can I force drupal account log in to evrything in the domain?
Sorry but you're talking to a relative beginner here.
Thanks for your help
Mark
password protection
Which way is best depends on who your users are. If there are only a few users who you know anyway domain password would be easier- it has nothing to do with drupal. As an example: www.openvpms.org/test is a test site I have which has a password protected domain. There are only a couple of us who use it and each knows the login details- is that what you need?
Password protection
Thanks, that does look like a great solution for a small group of users. However, I have "potential" users from all over the world. In fact they are family members who I want to be able to create an account for themselves and then I approve their account. Drupal does a nice job of this, but I have found that if I create any other directories in the domain root Drupal will not request their password - of course! So I wondered if there is a way I can redirect anyone looking at a htm file inside any directory that I add, to the drupal login page.
This way it will check automatically to see if they already have a drupal account.
Does that make sense? I appreciate your responses.
Mark
menu by role module
menu by role module
front page would also allow you to have a friendlier front page instead of just showing an access denied page
or as a previous post suggested password protect it by using a .htaccess file that requires login to access
Menu by Role Module
Hi
thanks, I checked out the Module page and I see that the module is a Dev snapshot and not recommended or stable.
Any ideas would be welcome.
thanks
Mark
front page module
Mark,
check out the frontpage module- you could use this to create a custom frontpage for anonymous users: http://drupal.org/project/front
Thanks for that one, I'm
Thanks for that one, I'm gonna test it out on a test site I have.
Cheers
Mark