I am writing an example-plugin as an excercise and so far I have only used elgg_view_extend('css/elgg', 'myplugin/css') like this. So as the first argument I passed elgg's core css. However, for some reason it didn't work this time and the css was not extended. So I changed 'css/elgg' to just 'css' and voilá, the css was extended with my custom css and it worked.

So here is my question: Is there a difference between passing only 'css' or 'css/elgg' to elgg_view_extend()? Has anyone ever encountered the same issue as I have? 

Thanks for your help!

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking