Hi,

I'm very happy to have found this drupal module wich will be very usefull for me.

I have a question. I want to integrate javascript functions in my generated page (for example, a simple function my_function{alert('Clicked');} who is called with a onClick(). Is it possible to do this ?

Thanks

(It's my first time using drupal; I've found the drupal_add_js function but with xml content, I don't see how to use it)

Comments

Ancal’s picture

Status: Active » Closed (fixed)

Ok, I've found a solution.

It's possible to select two or more filters in the configuration of the content format. I select "XML Content Filter" and "PHP Code filter" and it seems to work.

Thanks again for the module.