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

Styling individual OPTIONs in SELECT boxes in forms API forms

I'm creating a module and in that module I have a page with a form on it, including a select box. The select box has several dozen options. One of them is the default option, though it may be in the middle of the list, and hence get quite lost as someone scrolls through the list. So I want to style/colour that option. e.g.

<option value='1' style='background:orange;'>blah</option>

... but this doesn't seem to be possible. In the select box I have:

Moodle integration

Could anyone to tell me how can I insert an fully working module with moodle integration?
I have tried one, but it is working only in Admin section. When I log out it doesn`t run.
Thanks!

Parsing of Modules in order to generate output

I want to know how existing modules are parsed to generate the HTML output? Thanx in advance!!

Flexinode : making image thumbnail

Hello guys,

I'm using flexinode module and found a strange thing in it.
field_image.inc has a flexinode_make_thumbnail function which is not called anywhere.

This function must create image thumbnail but I didn't find its occurences neighter in flexinode.module nor in field_image.inc

Does anybody knows how to make flexinode to create and use thumbnails ?

Thanks.

edit secondary links is not working

I have problem with edit secondary links . When I click on edit secondary link after login browser gets not responding .Is it any setting or script is corrupted.

Custom Module Theme Functions

Hi,

I am working on several custom themes. Some of them are of the "Node" variety and in most cases they render many of the same elements. Elements like the "Tabs" or the list of links under a node that include "Read More, Comments, Printer Friendly".

I have noticed on custom module I am working on, I can't get these element to render consistantly. It shows on some layouts not on others. What gives? How or where can I read about functions that render common node elements?

By the way, I am pushing a functions content out via

Pages

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