Drupal is up and running but how do I ...?

Setting the default theme for a website

How can a Drupal site's default theme be set.

How to stop files from showing

After setting up drupal some of the files on the website which are not visible are showing up in clear text, such as the inc files and text files.

When the url for those files is typed they show up in clear text.

I believe fixing it in the case of Apache involves some settings in making some entries in a file called .htaccess.

Can anyone give me the definitive guide for fixing this condition with Drupal?

Static page for anonymous user who doesn't have permissions to see other content

Hello -

I am trying to solve what seems like a relatively typical problem, but I haven't see any good solutions in the forums or the mailing lists.

What I am trying to do is the following:
1) Anonymous users have no access to content
2) However, when anonymous users arrive on the site, rather than greeting them with a 'Access denied', I'd like to greet them with something a bit better, like a static page that explains that they need to sign up for a username before viewing the content on the site. I sort-of did this by making a static block on the LHS that said this, but the center content with 'Access Denied' still bothers me.

I found one reference here which suggests that there is no default way to do this, but I'm up for hacks, even for a hack where the homepage is hard-coded to be a certain static node IFF the user is anonymous. Can anyone point me to the right code to change?

The other possibility is to add a new module that doesn't check access permissions, and then set this new module as the default homepage for anonymous users (I want a different homepage for registered users however) - this is discussed here, but again it seems like the homepage will now be the same for anonymous and non-anonymous users, which is not what I want.

weblinks 4.1.0/drupal 4.1 problem

I'm having a problem with the 4.1 weblink module running on my Drupal 4.1 install. I would upgrade to newer version, but my host provider (hostsave.com) only has PHP 4.0.6 installed, so this is the best I can do.
Problem is this: Everything appears to work great *except* the weblinks directory. The weblinks directory shows *every* catagory I set up under each catagory I set up in taxonomy. Also, every catagory lists the sum total of links...not the total links for that particular catagory? Any ideas? Thanks for looking...

Taxonomy term combinations

Hi all.

I've been experimenting with drupal this week and it's looking like a very powerful and impressive system (but with a few bugs and security holes which I hope get ironed out in 4.4)

Embed Drupal login box

I want to create a login box on my main page whcih automatically authenticates the user rather than using the drupal login box. I want to replicate the login box functionality. So I tried this (cut and paste from login box of Drupal)
File index.html (drupal direcory is in this folder as index.html)..tags removed as I cannot post it raw HTML
form name="loginbox" action="drupal/?q=user/login" method="post"
input type="hidden" name="edit[destination]" value="drupal/?q=node"
input type="text" name="edit[name]" size="18"

Pages

Subscribe with RSS Subscribe to RSS - Post installation