Most of the Front-Office features of Litework are automatically integrated into your website, however Litework also provides the Widgets facility and various Special Codes / Tags that enable you to further customise the layout and functionality of your recruitment website.
In the HTML for your Page or Template, a Widget or Code will look something like /***LW_MY_WIDGET***/, i.e. a slash, followed by 3 asterisks, followed by a code starting with LW_, followed by another 3 asterisks and finally a another slash. When the webpage is shown to visitors the code will be automatically replaced with some functionality – a Menu, a Widget or a System Feature/Field.
To create a Menu please see here.
To create a Widget please see here.
To see a list of System Features/Fields tied to LW Codes see here.
There are also 3 special “container” tags that have a start code and a finish code. When these are used, anything inside the 2 tags will be replaced. The functionality of the container tags works as follows:
1. To only display part of a webpage to Logged In Candidates, surround the content with /***LW_LOGGED_IN_START***/ and /***LW_LOGGED_IN_END***/
2. To display content only to Logged In Clients, surround it with /***LW_CLIENT_LOGGED_IN_START***/ and /***LW_CLIENT_LOGGED_IN_END***/
3. To display content only to visitor who are not logged in, surround it with /***LW_NOT_LOGGED_IN_START***/ and /***LW_NOT_LOGGED_IN_END***/
As a simple example, the following message on a page will vary according to who is logged in:
<div id="welcome_msg"> /***LW_LOGGED_IN_START***/You are logged in as a Candidate/***LW_LOGGED_IN_END***/ /***LW_CLIENT_LOGGED_IN_START***/You are logged in as a Client/***LW_CLIENT_LOGGED_IN_END***/ /***LW_NOT_LOGGED_IN_START***/Please login to personalise this message/***LW_NOT_LOGGED_IN_END***/ </div>