This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Pathauto etc. up for adoption

I'm afraid I haven't had much time lately to respond to issues for my contrib modules, and I apologize to those who depend on them (particularly pathauto, relative to the 4.7 upgrade). At this point, I'm trying to get away from spending so much non-day-job time staring at a computer screen, and to reconnect with the real world. To that end, I invite any interested module developers to adopt ongoing support for the following modules:

Modifying the Registration Page-Extended User Details: Recommendations for something I can distribute

I am going to be using Drupal in an upcoming project. I will need to extend the details that users enter in at login, such as regional information and some other custom stuff. I was wondering if anyone has any good recomendations on how to produce a module that does not make me an island in the Drupal world. I don't want to build this module, and then be stuck in no mans land(ala Mambo). I have a lot of registration info to collect, so I will need to stretch the registration process over three seperate form submittals... anyone have a clever idea for how to do that...?

Unable to save the SETTINGS.

Hello.

I got a painfull problem: I cant save my drupal-settings under admin/settings. Drupal always states, that "CGI needs to be turned on for that directory", but i haven't enables clean URLs and deleted/renamed the .htaccess-File.

This is the only page that behaves like this - all other pages and/or functions of that drupal-installation work great. I first found this behaviour with an CVS-Head dated 11-20-2005, but it it is still in 4.7 beta3.

Any ideas how i can solve that "mystery"?

Sincerly,
Ninnghizidha.

db_rewrite_sql and _db_rewrite_sql: can someone explain?

Hi everybody..

Can someone explain db_rewrite_sql and _db_rewrite_sql ?
What are those function used for? Why should I implement them on my modules?

A little example might be clearifing.

Thanks

Fabio

insert problem

i added new textbox in poll module . and i want to save it to poll_newtable table then i'm getting error.
can u help me how to save it .
and i'm not getting value of $node->textbox name.

user warning: Unknown column 'score' in 'field list' query: INSERT INTO vote_ram (nid, color) VALUES (18, score) in C:\xitami\webpages\sarag\includes\database.mysql.inc on line 108.
i tried all possible mothods.
thanks.

Different result in MySQL and in Drupal (query limitations??)

Hi

I get different answers if I execute a query in my code than if I do on the command line.
The query and its results from a var_dump() are:

$query = "SELECT sum(principles_rating)/count(evalstatus) as principles_r,sum(examples_rating)/count(evalstatus) as examples_r ,sum(language_rating)/count(evalstatus) as language_r ,sum(complexity_rating)/count(evalstatus) as complexity_r FROM fhsstadmin_evaluation WHERE evalstatus='1' AND pageuid = %d";
 //Perform the query
 $queryResult = db_fetch_object(db_query($query,$user->uid));
 var_dump($queryResult);

Results:

object(stdClass)(4) { ["principles_r"]=>  NULL ["examples_r"]=>  NULL ["language_r"]=>  NULL ["complexity_r"]=>  NULL }

but if I login to mysql and perform the same query (uid is 10) I get:

mysql> SELECT sum(principles_rating)/count(evalstatus) as principles_r,sum(examples_rating)/count(evalstatus) as examples_r ,sum(language_rating)/count(evalstatus) as language_r ,sum(complexity_rating)/count(evalstatus) as complexity_r FROM fhsstadmin_evaluation WHERE evalstatus='1' AND pageuid = 10;
+--------------+------------+------------+--------------+
| principles_r | examples_r | language_r | complexity_r |
+--------------+------------+------------+--------------+
| 2.50 | 1.50 | 2.00 | 1.50 |
+--------------+------------+------------+--------------+

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions