I was going through the new Elgg structure. I noticed that now on the mod folders the all the folders contains elgg-plugin, I don't see any `manifest.xml` or `start.php` file. does the mentioned two files are replaced by `elgg-plugin.php` file. I need and explanation, please.
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.
- Jerome Bakker@jeabakker
Jerome Bakker - 0 likes
- Abnit Chauhan@AbnitChauhan
Abnit Chauhan - 0 likes
- Jerome Bakker@jeabakker
Jerome Bakker - 1 like
You must log in to post replies.the start.php and manifest.xml files have been replaced in favor of elgg-plugin.php and a Bootstrap class
see http://learn.elgg.org/en/stable/appendix/upgrade-notes/3.x-to-4.0.html#plugin-development
Then How would I load my custom CSS to the plugin without start.php? please help.
Just as before you can extend the core CSS view (elgg.css) with your custom css view http://learn.elgg.org/en/stable/guides/views.html#extending-views
To extend the core view you can use the elgg-plugin.php section 'view_extensions' http://learn.elgg.org/en/stable/guides/plugins.html#elgg-plugin-php
Most of the features you did in a start.php were of a static nature. Meaning they didn't change with plugin settings and/or the type of request. So doing most of this from a static configuration file save you a lot of work.
Think about registering plugin hooks or events or extending views etc.
Have a look at the docs about the elgg-plugin.php and see how much 'programming' you can save by a simple file ;)