The url points to the web page that will be loaded when the plug-in is executed. The main page and it's resources can be internally hosted inside the plug-in folder, but it can also be on an external server as HTML, PHP, ASP, JSP, etc.
<action> <url>...</url> </action>
Internally hosted plug-ins
Internally hosted plug-ins can have a url relative to the Elvis server domain. This allows you to create a plug-in which can run directly in any Elvis server installation without having to change the url setting. There are variables available that can be used to create these relative URLs.
Internally hosted, in the plug-in folder
Assume we have a plug-in called my_plugin, with the following path: active/my_plugin/index.html.
Internally hosted, in the base plug-ins folder
Assume we have a plug-in that uses the HTML page from the plug-in base, for example the debug plug-in, which has the following path: plugin_base/action.base/debug.base/index.html.
Assume that we have a plug-in hosted on a different machine, different domain, etc.
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
Please sign in to leave a comment.