@girish said in So Confused about Plugins:
I have updated the plugin section a bit - https://docs.cloudron.io/apps/roundcube/#plugins
I just tried installing the carddav plugin (I think perhaps that should actually come pre-packaged in the app), but so far I can't get it to work.
Does the Roundcube app need to be restarted or anything? (not that that has helped me, just be good to know).
I note that the docs say:
Add the plugin to $config['plugins'] in /app/data/customconfig.php. The name below must match the name of the directory in the first step.
array_push($config['plugins'], 'myplugin');
But in the actual customconfig.php file in the app it doesn't have $config it has $rcmail_config - so either the file in the app or the docs need updating to reflect whichever is actually correct.
Also, I think I'm correct in saying that you don't need to add another array_push... line, just to add 'myplugin' to the existing array, right?
So perhaps the docs should say:
Add the plugin to $rcmail_config['plugins'] in /app/data/customconfig.php. The name below must match the name of the directory in the first step.
array_push($rcmail_config['plugins'],'message_label','myplugin','myplugin2');
To make that clearer?
Also, just so I know, does whitespace/ spaces make any difference in this file?
Thanks!