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

Cache Wipe process

Hi,
I am trying to use drupal cache mechanism in a module I am currently developing. I will like to expire the cache for my module after a predefinet time. For this I am creating the cache with setting $expire with a unixtimestamp.

From the documentation I could understand that:

A Unix timestamp: Indicates that the item should be kept at least until the given time, after which it behaves like CACHE_TEMPORARY.

and

CACHE_TEMPORARY: Indicates that the item should be removed at the next general cache wipe.

Integrating dojo toolkit with drupal?

I am wondering whether someone has expercience with using the dojo Ajax library (http://dojotoolkit.org) in drupal.
Is this possible at all, are there any known problems? I would like to use dojo because of the strong industry support, but it only makes sense if the library fits into drupal.

Is there an alternative library that works better with drupal? I am aware of the Javascript Tools, but this is only a small component selection and does not provide an easy to handle interface for XMLHTTPRequests.

Module Views not recognizing TableManager

Hi,
It seems in order for 'Views' to recognize the tables I've created with 'TableManager', I've got to insert the tables first into pages. I wanted to create a block tracking recent tables but the filter "node type is one of table" wouldn't work. When I tried the filter "node type is one of page" I got the tables to list, but also the other (non-table) pages as well. Am I missing a step or an arguement? Thanks for any suggestions.
John

Custom Filebrowser - AJAX

Here's the deal... two months ago, I contacted a developer who was willing to build a custom filebrowser that could create accounts for a Drupal installation so that my users could host their own websites on it. Problem.. the filebrowser is built, but a month ago, the developer vanished. I haven't heard from him since at all. No payment given either, though there was one planned. I still retain the original module files, which is coded with AJAX and PHP.. however it's seriously bugged and it's database requires a complete rewrite.

An Ajax module problem

I want to write a module which can send a message to server periodically after user login, e.g. 30 seconds. It also can retrieve a return value from server. How to write this module? My puzzle is how to start this after login and stop it after logout.

New: facebook-style Poke module

I was in a coding mood tonight so I made a module that implements facebook-style pokes between users, currently displayed on their account pages. Right now you can do regular pokes, return pokes, and hide em. The code's not too pretty at the moment but it appears to work and is pretty fun.

Any comments are appreciated: poke.module.

Pages

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