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

Mailing list module

I've seen many posts where the user has been looking for a mailing list manager. I too wanted one, so I modified a script I wrote to be a mailing list manager. You can find the module here. Please note that PostGreSQL is required because of the way deletions are handled using foreign keys and the creation of alias maps for Postfix.
Postfix is the second requirement, and it must be compiled with PostGres support. So for all you Gentooers, that's USE="postgres", but I'm sure you already knew that.

Form action parameter

I need to pre-set some values on a form. I have a custom module that sets a menu() link to a custom function to do this. It calls node_form() to save me the work of maintaining the form definition in more than one place. By using node_form() I can not pass parameters to form(), and default form action becomes /mymodule/myfunc/myparam, which does not handle post data.

I am solving this by modifying $_SERVER["REQUEST_URI"] which works, but in my opinion is an ugly hack that I do not like.

Can anyone suggest a better way of setting form "action" parameter?

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.

Pages

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