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

Users Id

A very simply, maybe stupid question: I want to get the User Id of the current logged in user. In the global scope I have the object $user. Can I relay on it? Do I have allways $GLOBALS['user']->uid?

I've looked for an API function to fetch the details of the current user, but found none.

Any hints?

Indexpage module problem : access failed for for 'anonymous user' and 'authenticated user'

Hi,

I am using drupal 4.6.3.

IndexPage installed on Drupal 4.6.3. It works fine for administrator. But for 'anonymous user' and 'authenticated user' I got this message :

user error: Unknown table 'na' in where clause
query: SELECT count(type) FROM node WHERE type = "flexinode-1" AND na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0','og_uid0','og_group0') in /var/www/drupal463/includes/database.mysql.inc on line 66.

I allowed them to administrate nodes, that's work. How can I fix this problem ?

keyword_links:Fatal error: Call to undefined function:form_group_collapsible() in /var/www/drupal463/modules/keyword_links

Hello,

I'm using Drupal 463.

I downloaded Keyword links 4.6. and installed it. I followed the instructions from the intallation file. I did the first three steps. I don't know how to apply drupal.patch (step 4).

I tried to create a page and I've got this error message :keyword_links:Fatal error: Call to undefined function:form_group_collapsible() in /var/www/drupal463/modules/keyword_links

INSTALLATION:

Creating a project for a "Scheduler" Module

I've just started work on a "scheduler" module. The basic idea is similar to the volunteer module, but is designed for use in a phone bank or similar kind of situation: it assumes that sign-up is for some set of "shifts" at a set location, and it makes it very simple to create a weekly schedule for that site.

This is development quality code, but it already works. I haven't seen anything really like it either in the current list of modules here on Drupal.org, and I don't believe that the CivicSpace people have anything quite like it either.

The module was developed for Drupal 4.6 and Civicspace 0.8.1, although I'd guess it will run fine on Civicspace 0.8.2 as well (YMMV). It requires both CiviCRM 1.1 and the current Location module.

Since this code is pretty new, there's very little documentation just yet. You probably should not be playing with this code if you're not pretty comfortable fixing broken Drupal installs. And you'd best back up your database before installing it, although none of your existing tables will be altered.

Currently, the actual module name is rsvp_resource.module. This will change very soon (to either "scheduler.module" or "signup.module", most likely). Don't assume that there will be upgrading code either. Caveat Hacker :-)

So here's what I'm doing, and what I'd like to do:

  • I'm going to post an archive with the code as an attachment to this post.

Google Sitemap module not being accepted by Google

Hello,

I'm experiencing a little issue with the module. Google isn't accepting the sitemap generated, but I cannot find a reason.

For instance, this site isn't accepted:

http://www.smallbusinessassist.com/?q=gsitemap

While this one is:

http://www.afreedomainhost.com/?q=gsitemap

The sites are nearly identical; the only thing that is different is the name and domain.

at last....a Podcast.module for Drupal (4.6) that produces feeds and is optimised for itunes

came across this the other day and thought it well worth sharing with other users. It's a new podcast.module that is pending approval as a new contributed MODULE for Drupal.

******************
Name: Podcast module
Author: narkoba
Drupal: 4.6
******************

Pages

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