Closed (fixed)
Project:
XML Content
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2009 at 09:59 UTC
Updated:
17 Mar 2009 at 10:37 UTC
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
Comment #1
Ancal commentedOk, 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.