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

Using a filter similar to watchdog module

I am building a module and have copied the same filter code used in the watchdog module. It works great as is, but I want it so when a particular select list is changed, it will reload the page and alter the options of another select list. All is working, apart from in the function similar to 'watchdog_form_overview' which output the filter form - I want to access one of my $_SESSION variables to use in a query to change the options of the select list.

How can I allow my readers to vote on a block/page of links?

I want to allow my readers to do two specific things concerning voting.

First, I'd like them to be able to vote on each post, optimally just by clicking inside a star and keep track of votes, like at the top of a Squidoo lens. I thought the Voting module was best for this need, but there is no Drupal 5.x version, which I am using for my site. Is there another way?

Download

Hello Folks,

Which module can I use for download? I think about a very simple stuff, where there are no needs to set up privilages and not at least only the admin can upload files.

I know these solutions:
- I upload the files as attachements. (seems very 'sticky' one)
- I try to use the project module. (I've found only beta version for 5.1)
- I create a 'content' and make the links in html. (But in this case why a CMS if it cannot be used for this simple work)

Thanks in advance.
Regards,
Miki

Pro Drupal Development (callback arguments problem)

On page 37 of chapter 4 the callback arguments 'Hi!' and 'Ho!' are supposed to be passed to the mymenu_hello() function. However, when I goto ?q=mymenu I get the following warning messages...

* warning: Missing argument 1 for mymenu_hello() in C:\xampp\htdocs\sites\all\modules\mymenu\mymenu.module on line 35.
* warning: Missing argument 2 for mymenu_hello() in C:\xampp\htdocs\sites\all\modules\mymenu\mymenu.module on line 35.

how can i create a list of nodes and rss-feeds of a specific content-type ?

hi
i wrote my own teaser-list for my custom modules content-type
because for some reasons i dont want to list the node-teasers by taxonomy terms
i want to list them by content-type
i also dont want to use the views.module
so. it would be a great help for me if you could tell me if the following code is the right thing to generate a list of nodes

Drupal.extend

I just start to develop a community project. During my digging this site I come across “

Drupal.extend({ settings: { "base_url": "http://www.... “ I don’t know what is this and what is this for? And where should I find it. I appreciate it very much if anyone help me out regarding this Thank you YS

Pages

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