Fire a content_add_more_js callback on a custom js event

alex_andrascu - November 5, 2009 - 13:34
Project:Content Construction Kit (CCK)
Version:6.x-2.5
Component:content.module
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

To short it out here is what i want.

I want to create a date-popup calendar widget with a cck date field based on Date module where a click on a date will add / remove a field value. I know that

content_add_more_js takes care of adding new widget i just don't have a clear view on how i can do all this.

Anyone interested in the same functionality ?

#1

markus_petrux - November 5, 2009 - 18:32
Status:active» fixed

You can trigger the AHAH request programmatically, and you can even replace the URL with your own. See the updateMultipleValues function in js/node_form.js shipped with Node Relationships module for an example.

#2

alex_andrascu - November 6, 2009 - 09:26

Thank you very much...i'll take a look.

#3

System Message - November 20, 2009 - 09:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.