I'm very new to Drupal and I wonder if is it correct the custom module I wrote. I need a sort of autologon since I'm on an intranet environment (Windows, Active Directory, IIS6) totally isolated from web.
<?php
function autologon_init() {
global $user;
if($user->uid == 0)
user_external_login_register($_SERVER['AUTH_USER"], 'Autologon');
}
I know that with the code above logoff will never works..
When I try to load my project I get a fatal error that says "Allowable memory size of 134217728 bytes exhausted in C:\Program Files\drupal-7.0\includes\theme.inc on line 99"...and then the following call stack:
Hi, I would like to change the block alignment in the main content of my installed theme (Mayo) so that the blocks don't line up vertically (i.e. each block added to the main content area in Admin shows up below the previous one) but horizontally, so that I could have say 3 blocks next to each other across the main content area.
Hello folks. I've searched high and low and have spent hours reading the drupal menu api documentation... and the closest thing I've found to adding span tags around the main menu links (primary links) is this block of code:
Hello,
I am looking for someone that can build a drupal module that would allow a user to upload an epub, just as they would with a picture or other file in drupal 7, and view it in a node. Functionality should be somewhat similar to the firefox extension "EPUBReader" (chapter bar, next and previous page buttons, etc). I want to be able to have it act as a field so I can add the functionality to different content types and manage field displays. In other words, I am looking for a web based EPUB reader that can be integrated into to Drupal.
Thank you