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

Callbacks also for <IMG> URI?

Hello,

Drupal 4.7 callbacks drive me crazy. I want to listen to a special URI "/testuser/counter".

This can easily be done with hook_menu (). Example.

$items[] = array(
'path' => 'testuser/counter/',
'title' => t('Myhook'),
'callback' => 'mymodule_dummy',
'access' => true,
'type' => MENU_CALLBACK);

Now if /testuser/counter appears is part of the browser url function 'mymenu_dummy' is called.

Module for the reviewing process

My group is trying to figure out a way to make the reviewing or refereeing process more complete in Drupal. We are part of the University system and need a way to make our website peer-reviewed. Any ideas or does a module exist for this? The approval queue is not enough. We want an automated process where we can define reviewers and a better way to track changes.

SQL issue with Subscriptions module!

Hey guys,

I'll just installed the Subscriptions module and when I posted a new topic I get the following SQL error:

API to create collapse/expand links similar to FAPI '#collapse'?

Hello,

is there any way to create expand/collapse link similar to the ones FAPI generates on fieldsets (using '#collapse') outside of forms? I know fieldset elements can also be used outside of forms, but in that case the link placement is mandatory. For example, I'd like to assign an ID (and/or class) to a specific DIV element and place a link somewhere else on the site that will expand / collapse the contents of that element.

OG module=>after form submission

I am using OG module. I just want to know that which function is used after submitting the new group form.
e.g;
If fill the group form of og module and submits it, then the url is displayed in address bar like this 'http://localhost/chunky/?q=eeeee'.
The keyword in the address 'eeee' was the name of the group. Now which function has been used to load the data of the group.

I will be thankful for any response.
CRINCH

Howto display userpoints in comments?

I used userpoints to score user in the forum in drupal. How I can display user's points in the comments? It is not flatforum. I use

<?php
print print t('Points:') . ' ' . userpoints_get_current_points($curr_user->uid);
?>

but it doesn't work.

Pages

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