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

Top referrer module

Hello!

-I'd like to set up a block that displayed the top ten referrers to my site; can anyone recommend a starting place for something like this? Any guidance you can offer would be most welcome.

Thanks,
Dieter

Query on Database

Say for instance I have 2 sites .
Site1: www.hamaratone.com/drupal (which is already configured)

Site2: www.corpindia.org/cms (which is still not configured)

But I need to keep the installation centralized (i.e both database/drupal modules) and use it to manage the content of the second site).

How do I map the second site's URL

Geourl & mapping module

Hi, folks

I just wrote a module that let's me put and present points on geographic (or any other) maps. For the luck of a better name, it's called "geourl", and a demonstration can be seen on my home page: http://www.havlik.org/geourl/maps/AT

The module is really at "quick & dirty" stage now, but it works for me. Question: is anyone else interested in this kind of stuff?

Using wildcards inside mysql statements with db_query()

How can i use the '%' multiple character wildcard in a query when the '%' is used to specify the arguments in that query ?

If I use it, it casts the error of too few args for the sprintf in db_query().

Replacing the '%' with the right number of its single character equivalent '_' does the job for my case.
But someday someone (me?) will need multiple character wildcard in his queries.

block module

hoi!

i'm trying to learn how to write a drupal module, that puts a block at the side. i read the "Creating modules: post 4.3.1" in the module developer's guide and tried to do the same. i can select the module in the modules section, but the block does not appear in the blocks section and i also can not see any permission. this is even if i copy and paste the onthisdate module from the module developer's guide.

MP3 field type for flexinode

I'm attempting to write an MP3 field type for the flexinode module. It is my first real forray into Drupal as a programmer, and I am already in need of guidance.

The field is an extended version of field_file.inc which does the following:
1 - accepts only a restricted set of filetypes (.mp3 and possibly other music formats)
2 - reads and stores metadata contained in the MP3
3 - creates an m3u file and tracks its location
4 - displays links to both the mp3 (for download) and the m3u (for streaming).

Pages

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