Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the above example there are two clients defined and each has a different id. When using the client open a browser and point to

http://server:port/weave/main.html

or

http://server:port/weave/police.html

Additionally, if there is more than one client configuration and the user views
http://server:port/weave
they will be presented with a list of the available client configurations.

...

To see what current icons are available for use, open the HTML page /weave/styles/core.css on the Weave instance
e.g. http://localhost:8080/weave/styles/core.css
and any line starting with .icon- will be an icon available for use.

...

By providing a redirect URL as part of the configuration you can change the simple Close button into a choice between Yes and No and make this a replacement for the licence panel (as shown below).

Code Block
languagexml
<plugin id="weave.splash">
	<html>Splash content here</html>
	<redirectUrl>https://www.cohga.com/</redirectUrl>
</plugin>

...

If the user clicks Yes the panel will close. If they click No they will be redirected to where ever you set the redirect URL.

In addition, you can also provide the option to not display the splash screen again, with an optional button that can be added to a toolbar/statusbar to allow the user to open the panel again if they want (as shown below).

Code Block
languagexml
<plugin id="weave.splash">
	<html>Splash content here</html>
	<redirectUrl>https://www.cohga.com/</redirectUrl>
	<allowHide>true</allowHide>
</plugin>

<toolbar>
  <item action="weave.showsplash"/>
</toolbar>

...

Finally, you have the option to configure the panel to display only once. So once it’s closed the first time it won’t display on startup again unless you provide access to the button to re-show the splash panel or update the config to give the panel a different id.

Code Block
languagexml
<plugin id="weave.splash">
	<html>Splash content here</html>
	<redirectUrl>https://www.cohga.com/</redirectUrl>
	<showOnce>true</showOnce>
</plugin>

Configuration for the splash panel is provided by a plugin, and the various configuration options for the panel are configured within the plugin. Some configuration examples are shown below.

...