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

module draws node activity

Something else which may be of use to somebody:
A module which displays the number of nodes which have changed over a certain period on a lineplot.
I use this to have a quick overview of the 'busy' site periods.

This module, like seqgraph, depends on the jpgraph libraries.

You can check it out of the cvs tree here:
/cvs/drupal-contrib/contributions/sandbox/geek/activity/

Best way to determine node_type from a filter?

I'm trying to add a feature to my filter to not run on comments when so configured. However, none of the filter hooks seem to pass on what kind of node the text is originating from. What's the best way to execute this? Is it even possible to detect at the filter level?

Filter glossary definitions

This might seem weird, but I've written a filter module that I'd like to run against definitions in the glossary module. It works fine filtering content in nodes, but it seems that the glossary page doesn't get passed through the filter.

Is there a simple method call that I need to add to the glossary module to have it filtered?

Image module gallery function and CVS

It seems that the last release of the cvs image module that does have gallery functionality does not work with the current CVS of drupal. I assume this is why the latest revision of the image module no longer includes gallery options.

Does anyone have any suggestions on a setup or combination of prior revisions of the drupal core files that will enable gallery functionality and allow me to continue to use drupal CVS?

Need help with the simplest "hello world" module

I'm trying to create a simple module that just prints "hello world" on a page (not block), and I'm having trouble. I've spent lots of time reading the /support section and the doxygen API stuff, but I seem to get more, not less, confused. So here I am...

Here's what I have:

"helloworld.module" contains:

<?php
function helloworld_page() {
	$output = "hello world";
	theme('page', $output, $main); 
	return;
}
?>

Then in: administration -> configuration -> modules

I checked "helloworld"

Then I navigate to:

http://mysite.com/drupal/helloworld

And I get:

"Page not found"

Can anyone help me get this up and running? I'm running 4.4.2. I'm comfortable enough with PHP to flesh out my module later but am still wrapping my head around the drupal framework.

thanks,

Phil

New module draws graph

I tinkered with the jpgraph libraries a bit and came up with the idea to integrate it in drupal as a node module.

Basically it lets users enter timebased values and draws a graph based upon.

Be sure to read the license clause on the jpgraph site (free for non-commercial use).

All (constructive) feedback/suggestions are welcome.

Pages

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