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

New Availability Module - would love some feedback!

i'm going to be developing an Availability Module for drupal, which i'll outline below--if all goes well it should be released before the end of june. i wanted to get a discussion started on the possible features/functionality of this module so i can develop it with everyone's best interest in mind. that said...

CASE STUDY?:
specifically this need arose out of communication difficulties my band has been experiencing--our booking person would like a more efficient way to see what dates everyone is available to play a show. right now it's a big email-fest in order to get everybody's status, and i think it would be much more efficient if there was a central place where all the band members could mark/view their availability.

so what is needed is some way for users w/ the appropriate edit permissions to be able to mark their availability for certain days, and for users w/ view permissions to look at a calendar and get an overview of who's available on each day of a week or month, etc.

here's an early run of how i'm picturing the functionality:

three permission levels: view availability, edit own availability, admin availability
users w/ view permissions would see a list of everyone who's marked their availabilty for a certain date, displayed in a calender (looks like i'll be using the functionality of event.module for calendar rendering)
users w/ edit own permissions would see a checkbox appear in each date on the calendar, where they can mark/unmark their availability for the day.

Is it possible to show only 100 characters in aggregated content ?

is it possible to show only 100 characters in aggregated content

Overcoming Limitations in nodeapi::view

Hi All,

I have developed a module that is used to extend a configurable list of existing node types. This modules makes fairly good use of the nodeapi hook.

The problem I am having relates to the nodeapi::view hook. It seems that whatever I do in this hook, I cannot change the content that appears before $node->title is displayed. In my case, I want to change the class specified in the

Best way to change the way user registration works

Hey there!

I'm creating a website where ...

  1. ... the user goes to a registration page ...
  2. ... enters personal information (first/lastname, date of birth, city, etc.) and uploads a picture without having to choose a username/password ...
  3. ... becomes a registered user that can be treated as such.

Now my question is, where to hook a module into:

Is there some simple method of finding the default site language?

I have found that:

$user->language;

returns the language of the currently logged on user, but returns nothing when the user is 'anonymous'.

I'm trying to find some straightforward, simple way of determining what the default site language is (ie the language for 'anonymous'), whether or not the localisation module is switched on. For example, I rather hoped there might be a "$site-language" but there isn't.

Can anyone help me?

How does the Tracker Module work? I want to make pages not get picked up (ver 4.4.2)

Hi,

This seemed the best forum to ask this. Basically I want to add content to our site but I don't want the tracker to pick up the pages as new/changed. We use the tracker to provide a way for users to quickly see what's received comments and been posted that isn't obvious on the front page.

However, this means that whenever I adjust any content, that page appears in the list. Really I want the facility to bring some pages out of the tracker's clutches, or 'spoof' them with incredibly ancient edit times so they go to the bottom of the list.

Pages

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