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

Snippet - Display Top Blogs, Books, Forums

Hi Drupal People,

I need the one snippet to display "top visualization" section in my site.

I will have a top section for: blog, forum and book with visualizations by day, week and month.

Anyone have a snippet for this?

Thanks,

Is it possible to disable %s and %d in db_query?

I think the functionality of using %s and %d in queries screwing up my custom query:

SELECT u.uid, u.name, u.access FROM users as u , profile_values as p WHERE  u.access >= 0 AND u.uid != 0  AND p.uid = u.uid AND p.fid = 5 AND ( p.value like '%skiing%' || p.value like '%biking%' ) ORDER BY u.access DESC

It seems to return people that like biking, but not skiing. I'm doing it this way because people could enter "biking, hiking, running" for example, so it is searching for matches using the % on either side.

Drupal not displaying my "add" form

I'm trying to create a module with a new node type, named nsight_report. I have _menu() and _form() hooks, but for some reason when I go to node/add/nsight_report it just shows me the "Create content" page again, only with the title I specified in my _menu() hook.

I've pastebinned the _menu() and _hook() functions at http://drupal.pastebin.co.uk/15389 . I've asked in #drupal and #drupal-dojo but no dice yet. I just can't understand why it isn't working.

Creating a simple newsticker, impossible?

Hi, all!

I was wondering if a simple news ticker/block has been developed?
I have looked in the Module download node, but can't find anything.

Im talking about a simple This-is-new-in-the-site-or-company ticker.

Thanks in advance
Diaz

Trouble Sending HTML Newsletters through Simplenews Module

I've been sending a basic HTML-designed newsletter through the Simplenews module with some success. However, some users have reported receiving the newsletter with odd formatting -- all text, with all the links stripped out and dropped to the bottom of the email. Has anyone else encountered this, and how did you go about troubleshooting/solving the problem?

Thanks for your help,

~e

Anyone using og2list HEAD for Drupal 5.x?

Are there folks out there who are successfully using the og2lists module in Drupal 5.x?

It looks I'm getting stuck on the mail-in.pl and mail-out.pl scripts -- they don't seem to be writing to the database, mail to the group mailing address does not send to the group members (though internal mail gets posted on the group site). I'm using exim as the MTA.

I'm wondering if this should work without too much trouble, if there are fixes, or if I should wait until the official release. Any suggestions/experiences with og2lists on 5.x would be very much appreciated.

Pages

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