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

Developing an avatar hotlink module or would it be a patch?

I would like to develop a module or patch that would allow users to hotlink their images from
another site rather than uploading them, given the problems I've had with uploading currently.
(images go up, they appear in the files areas, they have full permissions, but only the default
avatar ever appears. Vers 4.4.2)

Book module structure, hierarchy and categories

I'm using the book.module now to acheive multipage documents (as far as I could discern, this is the only way...), but there are some unclarities that I have met:

1. Book Metaphor

Intuitively, the book would seem to be a 'binding' and a series of sub-elements (pages, chapters, etc.) The current structure seems however to create a hierarchical tree. In this way, Chapter (or page) 2 is the child of Chapter 1, and it is this relationship that binds them together. This is unlike a book, in the sense that a book's Chapter 2 is sequentially subsequent to Chapter 1, but not necessarily hierarchically so. In order to be more like a book, the module would create a 'binding' or 'cover' which is a parent, and the chapters would be hierarchically equal, but sequentially determined. In this model, the book module would provide two settings: 'parent' and 'sequence'. While parenting could be multiple (Chapter 3 is the parent of Part 1 which is a parent of Book), sequence would be single and individual. This is now not possible now AFAIK...

2. Menu presentation

The upshot of a 'binding' would be that a collapsed menu could be presented that shows the binding, and when clicked expands to show the child nodes. This would be very useful.

3. Categories

I seem to remember that in earlier versions of Drupal (i'm in current cvs) books pages could be assigned taxonomical terms. I don't have an old install to check this on. At the moment, I can find no way to assign terms to pages or books. Am I missing something?

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?

Pages

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