Password Protect Directory and Contents

I am in the process of setting up a site that will have content such as music files and pictures avaialble for download. I want to protect the folder and contents with a password so as to limit unauthorized uses from gaining access.

Any suggestions on the best way? I was going to do it with the http server but I would think drupal has a method or the built in fuctionality already.

Thanks,

Displaying TXT file by jQuery

Hi everyone,
As mentionned in subject, I'm looking for displaying the content of a text file using jQuery.
I already have this js code :

jQuery(document).ready(function(){
        $.ajax({
        url : 'test.txt',
        success : function (data) {
                $("#contentArea").html(data);
                }
        });
}

but I don't know how displaying the file now.

Also, I have scripts[]=test.js in my .info, do I need also a drupal_add_js ?

Thank you.

Any theme like this

my site would be like posting apps and games- make many categories and sub- categories....any theme which could manage this...i want something like this
http://i54.tinypic.com/54c6du.jpg

i would ensure if any theme available before i install drupal

clone drupal site to new domain

Hi guys
what's the least problematic way to clone a site to a new domain ?
thanks

Add user permission to user role, but just for assigning certain roles

Hey,
the setup I need is something like this:
There is a group of users (specified by a role, e.g. createUsers-Role), that should be able to create new users. But they (people of createUsers-Role) should not have any more admin privileges AND they should NOT be able to assign any other roles than those that I want them to be able to, e.g. roles a,b and d, but not c, e and f, but they MAY be allowed to assign tags of one or more taxonomies to the user, they create.

hook_menu with wildcard

HI all

I am creating a new hook_menu item. When i do the following

<?php
  $items['zazzle/test'] = array(
    'title callback' => 'zazzle_page_title',
    'title arguments' => array(1),
    'page callback' => 'zazzle_page_view',
    'page arguments' => array(1),
    'access arguments' => array('view zazzle entities'),
    'type' => MENU_NORMAL_ITEM,
  );
?>

it works i get errors because the callbacks are wrong but it works.
When i do the following.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x