Static code portlet


Jump to: navigation, search

Static Code portlet is one of the general Vyre portlets. This portlet can be used if you need to add some code to the page. It may be JavaScript, CSS etc.

Edit Mode

Static Code portlet in version 4.3 gives you access to path and user related dynamic variables.

For example if you want to hide the portlet on a page, following will accomplish that:

This code hides the portlet on the page:

<script type="text/javascript">
//this code hides the portlet on the page

See also

Personal tools