Allow /user directory from ip range only

Hi everyone,
I am new to Drupal 7 so, please, excuse me it this was already answered. I tried searching around the forum but found no replies.

My boss wants me to restrict the /user path to certain IP in the local network only. HE does not want anyone to access it from the Internet.

The problem is that he does not want any modules installed to do this.

Can I change or add something to Apache to be able to achive this:

Dynamic Query max(value)

How can i show the max values from a dynamic query?

$query = db_select('data', 'n')
->fields('n', array('field1, max(field2)))

->groupBy('field1')
->execute();

this doens't work

cannot install drupal at all

Hi Guys,
still tring to install drupal. stuck at step 3: run the installation script... error 500 Internal server error. Nothing helps

I Already tried:
*move all files one level up,
*renamed th e.htacces to htacces
*tried to put the "install.php" in the url .
*called for help (transip, server provider could only repeat thta there are several customers lucky enough to accomplish a druapl installation.... :( i snot helpfull or friendly..)
*freaked ou etcetera

How to Customizing the main and secondary menu

I have read the article Customizing the primary and secondary links
So I want to kown how to Customizing the main and secondary menu in drupal 7
e.g:

how come my menus are getting deleted when im changing a setting in my views

here's my code for creating a menu
function reservation_form_menu() {
$server_name = $_SERVER['HTTP_HOST'];
$items = array();
//parent
$items['reservation_form'] = array(
'title' => 'Room Reservation',
'page callback' => 'room_reservation_form',
'access callback' => TRUE,
'file' => 'reservation_form.inc',

);
$items['reservation_form'] = array(
'title' => 'Room Reservation',
'description' => 'Room Reservation',
'page callback' => 'drupal_get_form',
'page arguments' => array('room_reservation_form'),
'access callback' => TRUE,
'file' => 'reservation_form.inc',
'menu_name' => 'main-menu',
);

$items['reservation_form/sub'] = array(
'title' => 'Create Reservation',
'page callback' => 'drupal_get_form',
'type' => MENU_NORMAL_ITEM,
'access callback' => TRUE,
'parent' => 'reservation_form',
'weight' => -4,
);
$items['reservation_form/sub13'] = array(
'title' => 'Reservation Calendar',
'page callback' => 'drupal_get_form',
'type' => MENU_NORMAL_ITEM,
'access callback' => TRUE,
'parent' => 'reservation_form',
'weight' => -4,
);
$items['reservation_form/sub1'] = array(
'title' => 'Check Reservations',
'page callback' => 'drupal_get_form',
'type' => MENU_NORMAL_ITEM,
'access callback' => TRUE,

Website Link

Hello Everyone,
I am a starter in Drupal.
Can you please tell me how to add a website link to my site?
Thanks in advance.

Swathi

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x