GetModuleResourceURL (open)

Returns a URL for a WebHare module resource, if available

Syntax

LOADLIB "mod::system/lib/resources.whlib";

STRING FUNCTION GetModuleResourceURL(STRING resourcename)

Parameters

STRING resourcename

The resource, eg mod::mymodule/webdesigns/mydesign/web/myimage.png

Return value

STRING

The URL, if available - it will usually start with '/', similar to the image cache urls. To get an absolute URL, you may have to ResolvetoAbsoluteURL(GetPrimaryWebhareInterfaceURL(), ....) the result