I am also having issues with CkEditor on oEmbed app, where I see if I share a video link in comment, it does nice embedding of the youtube video...But if I do that in a Blog, or if I do the same inside the Wire, with the Wire Tools plugin also installed - the embedding does not happen....Do I need to place the apps in certain configuration for this to work...
Are you sure that code is working for you...
Its still giving me the same error...
No it's not working for mee in Firefox, because of the rules of w3schools
Content-Security-Policy: The page's settings have blocked the loading of a resource (frame-ancestors) on <unknown> because it conflicts with the following directive: 'frame-ancestors 'self' https://mycourses .w3schools.com'
If you have a resource file (where you draw the page) you can load the JS you need on that page, with the function elgg_require_js()
If you have JS you need on every page (mostly not the case) you can extend the elgg.js view in your elgg-plugin.php. Or you could make a Bootstrap class, register is in the elgg-plugin.php and the init() function (if done correctly) will automatically be called on every page.
You see, I followed the Developers plugin, but could not understand how it was routing and registering it in the menu.....
Please clarify this setup, for my routing, I need to put my php files in the following location:
/var/www/html/elgg/mod/curriculum/views/default/resources
But in the bootstrap init() function, if I want to cal the code,
elgg_register_external_file('js', 'curriculum', elgg_get_simplecache_url('js/curriculum.js'));
elgg_load_external_file('js', 'curriculum');
or load a php file, all the js and php files should be in the resources folder only,
or whether it should be in the folder which has the bootstrap file....for since init() function would call it in every page....
I don't think the Developers plugin is a good example of how you should route to content pages.
Best have a look at the Blog plugin.
Routes are defined here:
Learn more about routing http://learn.elgg.org/en/stable/guides/routing.html
The loading of a JS file can be seen here
and the JS file is located in /mod/blog/views/default/forms/blog/save.js
elgg_register_external_file() and elgg_load_external_file() shouldn't be needed is most cases.
Learn more about JS in Elgg http://learn.elgg.org/en/stable/guides/javascript.html
You also mentioned menu items, check this http://learn.elgg.org/en/stable/guides/menus.html
In the Blog plugins this is registered here
There're only these unsupported and outdated plugins:
https://elgg.org/plugins/2085423
https://elgg.org/plugins/1205095
https://elgg.org/plugins/1198657
https://elgg.org/plugins/1190435
In Elgg v5 a site administrator can configure theme variables like colors on the backend (Configure -> Theme). There are also options to upload a favicon or change the site name. This however does not allow a site admin to change layout of the site. To do that you probably need a (custom) theme.
What are the problems to ask the developer about it?
Nikos continues to work with Elgg and he is a very good developer.
Ask here also https://t.me/elggchat
@rivervanrain yes Nikos has very good plugins, but I would like to know if someone could update it to the latest version of Elgg, since it has a lot of potential.
@nlyberakis we talked about it on Github, I was just wondering if anyone had an idea to update it. I haven't been in contact with Elgg for a long time and I would like to be able to use this plugin.
https://github.com/nlybe/Elgg-Sharemaps/issues/13
If anyone is interested before Nikos updates or can guide me.
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.