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

Idea for a module... but need some help!

Hi people,

This is my first message here, as I have recently decided to start using Drupal for a new site I am setting up. Basically I decided to install version 5 as it seemed more difficult to maintain a older version - of course the only issue is that most of the themes and modules don't work (this is not a dig!).

how to prefix each option for radios?

hi,

i need to create a form that contains radios and i need to prefix each of the radios options with an image. i know i can use forms api to prefix whole radios group but i need to prefix each of the radios in group. for each radio i need something like this:
[radios start here]
[0] [my image prefix] [option text]
[1] [my image prefix] [option text]
[radios end]

but normally when using froms api i can get only this:
[radios start here]
[0] [option text]
[1] [option text]
[radios end]

any ideas how to solve this?

Customize search model

Hi all
I'm new to drupal and I was wondering how can I customize search model to search according to categories.
I've added (using a snippet from this forum) a drop down list that contains all categories in the search module (modified search_box function) and I would that my search will search only on a selected category (or all categories in none was selected)
Any help would be greatly appreciated
Thanks
Oreng

"n/a" showing instead of field value - input filter is the reason?

I created a new node type that has custom fields, and then I made the whole node to have only one selection for the input format, cos I don't know how to make it work so than two textareas could have separate input formats - it only saves the other one..

Anyway, the problem is that when I save the node in default input format, it displays right - but when I change the node input format to BBCode (which is disabled for the anonymous users so people can't use it in comments), then all the other fields than body are printing out as "n/a" instead of the whole field value.

Show only Login Page in Default Front Page (Urgent)

I need to display only login page in the front page . Till now i have login page in the right menu and i have almost all the module that is needed for me. The one task remaining is that i have to show the tasks i have finished only after login.

Could u plz help me because i am running out of time.

Yubaraj

How do i pass $arg to tabbed views

sure i am missing something.. but seems pretty clear...

i have 2 page views meant to be shown as tabs; both require a nid to be passed as an argument

before tabbing i have this:

view 1 - product/listing
view 2 - product/review

both of these work correctly when i add a nid to the end of the url (e.g. product/listing/151)

now, when i set these up as menu tabs ("listing" as default tab) - it displays the default view correctly and shows the 2 tabs

Pages

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