Javasript

deelaka kekulawala Posted in General Discussion 9 years ago

How can i add javasript code

Replies
in Paritosh Pandey Replied 9 years ago

I have ossn 2.3, javascript not running, when i click on add group then nothing is happening.

Deelaka kekulawala Replied 9 years ago

Can u give me some screenshots its help for me

Indonesian Arsalan Shah Replied 9 years ago

In your component initialization function add following code:

ossn_extend_view('js/opensource.socialnetwork', 'components/MyCom/js/mycomjs'); 

Create a new file mycomjs.php in components/MyCom/js/

Refresh the cache and its done