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

Javascript Popup with node info

I have been searching around the site for a module that could would pop up a javascript box on a mouseover to provide more information. Is there anything like that?

Category module and Views "GROUP BY" function using CCK content types

Hi all,

I've been reading lots already about the features of CCK and Views, begin superior to Events by some, not being the case by others... Well, I've chosen for CCK / Date API thanks to its broad expansion system.

I've got a list with rehearsal times for our orchestra, using custom-made content types "Rehearsal", which include a CCK Date field (logically called "Date"). We have rehearsals every week, and the list gets quite large for a given season. Now, displaying only the future rehearsals, I can do, using a filter.

integrate codepress into module

I have integrated codepress (codepress.org) into the create and edit form for a custom node type I created. It's a very slick javascript based editor for dynamically numbering and highlighting php, css etc text.

The codepress editor shows up in the form textarea, but I'm not sure how I can get the text back into my node. For example, typically I would have this rendered on the client:

<textarea cols="60" rows="20" name="qform" id="edit-qform"  class="form-textarea resizable required codepress php"> [PHP CODE HERE FOR EDITING]

With codepress, the textarea is replaced on load, so the 'generated' source is:


<iframe src="http://govirtual.bpweb.bp.com/sites/all/modules/qdrupal/codepress/codepress.html?language=php&amp;ts=1179755957881" style="border: 1px solid gray; height: 402px; width: 661px; visibility: visible; position: static; display: inline;" frameborder="0"></iframe><textarea style="overflow: auto; display: none;" disabled="disabled" cols="60" rows="20" name="qform" id="edit-qform_cp" class="form-textarea resizable required codepress php processed"> [ORIGINAL CONTENT HERE]

From the docs, it says that the edited code can be gotten from the codepress editor with :

textarea_id.getCode()

How to adjust banner?

How to get logo at middle of the Header?

Date problem. Time is stored to be 1 hour less than what is being entered in the form!

Hi All,

I am facing some problems with dates in Drupal.
I have this node having a form (possibly created using CCK)where it accepts a date in" dd-mm-yyyy hr:mn:ampm" format.
Whenever I enter a date and time, it store a time 1 hour prior to what I enter in the form.

I am not able to change User or Admin time zones also, as I cannot find the pages where these could be modified or accessed.

Changing form elements view

Hi all!
Lets go with my first question, maybe it's usefull for some users.

I use api form to define page forms, but I'd like to take more control on its behaviour. I mean you can define a set of radio buttons with the radios type, and they will display in a column but I'd like to show that radios in the same line, what is the best way to do this?
Maybe some attribute in element form array?
Maybe defining a custom theme_ function for radios?

See you onboard!
Drupalife.

Pages

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