I have found out photo uploader and viewer much better than tidypic but its a javascript can any1 give me guidelines to add js into elgg also wanted to register action like upload I know how to do it in php way just wanted the elgg way...
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- Paweł Sroka@srokap
Paweł Sroka - 0 likes
- rjcalifornia@rjcalifornia
rjcalifornia - 0 likes
- Pranjal Pandey@pranj7
Pranjal Pandey - 0 likes
- Cim@manacim
Cim - 0 likes
You must log in to post replies.The "JavaScript Engine (1.8)" section has all the javascript related documentation: http://docs.elgg.org/wiki/Main_Page#JavaScript_Engine_.281.8.29
What is egg? ;-P
You can register your own JS in the start.php of your plugin. For example, to properly add the twitter bootstrap on elgg we had to register all JS files in start.php which is pretty simple and you can use it right away anywhere you want.
Rodolfo Hernandez
Arvixe/Elgg Community Liaison
thanx everyone
elgg_register_js('name_of_js','path_to_js');
elgg_load_js('name_of_js');