Where can I find the plugin API Documentation? I would like create a plugin that change the default template path permanently.
Please, help me.
Where can I find the plugin API Documentation? I would like create a plugin that change the default template path permanently.
Please, help me.
Hello ;
Why you don't just put your template into /var/www/imscp/gui/themes/<your_theme_folder> and then, in the /etc/imscp/imscp.conf file change the following parameter:
to
This parameter won't be overriden when updating i-MSCP what is expected in your case.
On update, you'll have just to copy your <your_theme_folder> to /var/www/imscp/gui/themes/ and then, run perl /var/www/imscp/setup/set-gui-permissions.pl to fix permissions once the update job is done.
Creating a plugin only to change theme path is a no-go.
Thank you. It was good advice.
But, I am seriously interested the API doc.
For example custom DNS per domain etc..
There's no documentation for the api atm, so you have to read the code or ask in forum. I'm sorry about that.
ok, thx.