Index and vacancy HTML web pages and the XML vacancy file formats are based on user customisable templates located in the PRS shared data folder:
HTML Templates
Template Description |
Default Template File |
Custom Index 1 Template File |
Custom Index 2 Template File |
Vacancy web page template. |
v_tpl.html |
v_tpl_1.html |
v_tpl_2.html |
Vacancy index web page template. |
vi_tpl.html |
vi_tpl_1.html |
vi_tpl_2.html |
Vacancy index entry template. |
vie_tpl.html |
vie_tpl_1.html |
vie_tpl_2.html |
Occupation index template. |
oi_tpl.html |
||
Occupation index entry template. |
oie_tpl.html |
||
Occupation sub-index template. |
osi_tpl.html |
The Default Template Files are used for vacancies in both the first Web index page (the pi index) and the second index page (the ci index). If you want separate customisation for each index create templates with the Custom Index Template File names shown in the above table (the PRS searches for templates with these names before falling back to the defaults).
XML Templates
Template Description |
Default Template File |
XML header |
v_header_tpl.xml |
XML vacancy |
v_tpl.xml |
XML footer |
v_footer_tpl.xml |
Default template files are installed by the Shared Data installation..
To customise the exported web pages or XML vacancy file edit the corresponding templates using your favorite HTML or text editor.
The PRS creates HTML web pages and XML vacancy files from the templates by substituting template placeholder names (enclosed in curly braces) for actual vacancy data. The substitution placeholder names and the substituted vacancy data are listed in the following table.
NOTE: Substitution placeholder names are case sensitive:
Substitution Placeholder |
Substituted Vacancy Data |
Applied To |
{Occupation} |
Occupation |
1,6 |
{JobTitle} |
JobTitle |
1 |
{Type} |
"Contract", "Permanent" or "Rostered" |
1 |
{VacancyId} |
VacancyId |
1 |
{VacancyReference} |
Lower cased Vacancy Ref |
1 |
{Client} |
ClientFirstName + " " + ClientLastName |
1 |
{ClientSite} |
Vacancy form Client Site field |
1 |
{Contact} |
ContactFirstName + " " + ContactLastName |
1 |
{ContactSite} |
Site Name from contact Personnel record |
1 |
{ContactPhone} |
Business phone number from contact Personnel record |
1 |
{Phone} |
Recruitment company site phone number |
1 |
{Fax} |
Recruitment company site fax number |
1 |
{Email} |
Contact's Email address |
1 |
{ShortDescription} |
Short Job Description |
1 |
{LongDescription} |
Long Job Description |
1 |
{Location} |
Vacancy form Location field |
1 |
{Salary} |
Permanent vacancy Salary field. |
1 |
{ContractorRate} |
Contract vacancy Contractor rate field. |
1 |
{MaxRemuneration} |
Permanent vacancy salary Up to field or contract vacancy Max rate field. |
1 |
{PublicationDate} |
Publication date formatted like "mmmm d, yyyy" |
1,4,6 |
{CompanyId} |
Recruitment company ID |
1 |
{CompanyName} |
Recruitment company name |
1,2,4,6 |
{CompanyEmail} |
Recruitment company Email address |
1 |
{CompanyWebsite} |
Recruitment company website address |
1 |
{CompanyStreetAddress} |
Recruitment company street address |
1 |
{CompanyPostalAddress} |
Recruitment company postal address |
1 |
{VacancyURL} |
Vacancy page file name. |
3,6 |
{SmallNew} |
Small 'New' image |
1 |
{IndexCount} |
Number of entries in index |
4,6 |
{IndexTitle} |
Auto-generated index title |
2 |
{IndexHeader} |
Number of index entries and publication date |
2 |
{IndexBody} |
Placeholder for index vacancy entries |
2 |
{IndexURL} |
Occupation sub-index file name |
5 |
{DateTime} |
Date/time file was created in yyy-mm-dd hh:mm ISO format |
1 |
{Option1} ... {Option6} |
Vacancy publication options 1...6 (True or False) |
7 |
1. | v_tpl.html, v_tpl_1.html, v_tpl_2.html, vie_tpl.html, vie_tpl_1.html, vie_tpl_2.html, oie_tpl.html, v_tpl.xml, v_header_tpl.xml, v_footer_tpl.xml |
2. | vi_tpl.html, vi_tpl_1.html, vi_tpl_2.html |
3. | vie_tpl.html |
4. | oi_tpl.html |
5. | oie_tpl.html |
6. | osi_tpl.html |
7. v_tpl.xml