Thoughts on improving Drupal efficiency

SUMMARY

We mostly use hooks when writing modules. This implies a large number of extra function calls which aren't always needed. Allowing a global variable with standardized array keys could go a long way in allowing for the types of modifications we need to do in code without expensive extra function calls.

Request for your input into my research

Hi there,

I am currently working for an eductional institution in London, UK. I am evaluating a number of open source and proprietary CMS solutions for their future intranet and website. I have short listed 11 CMS systems and Drupal is one of those. I would greatly appreciate 10-15 minutes of time from an Drupal expert to complete this online survey to inform my recommendations.

http://www.surveymonkey.com/s/VTRBNMK

Thank you in advance.

Kind Regards,
Shooresh Golzari

How do I add a different logo?

I have a website installed but I am looking to have a different logo (920x214px) at the top of the 'AXO' section of the website. All other sections are to keep the 'A' logo.

Does anyone know how I would do this? Having a bit of trouble.

The website is here: http://tiny.cc/l7o4e

Thanks for your help in advance,

R

remote login...

I want to create a desktop application which remotely authenticates against my drupal user database... is there a separate hook to do this... or something... all I want to do is basically calculate login and logout time...

Forms with Pre-defined values

Hello,

I'm currently looking for a form module that pre-fills form fields when selection or input is made.

For example, I have the following values:

Job | Rate
Accountant | 22
Engineer | 24
Nurse | 35

Then I have the following fields:
Name:
Job:
Rate:

When a job is selected on the Job Field, a corresponding Rate value is displayed on the Rate Field

Looking forward to any help.

Many thanks in advance.

test if var is a $user object?

Hi, I would like to be able to evaluate if a variable is a $user object, hopefully in such a way that it can be a case of a switch, something like:

<?php
switch ($op) {
  case (is_user_object($op)):
?>

I could so something like the following (eval from left to right?), but am hopping for a more elegant or straight forward method:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x