# TS Recruiter

Formerly known as *TalentPiper*.

# Add links to add user to candiate database

Anywhere in a webpage you can add a link to the candidate interface

```
https://talentpiper.com/demo/webinterface?nykandidat
```

Example of HTML for a popup window

```html
<a target='_blank' href='https://talentpiper.com/demo/webinterface?nykandidat'>add me to candidate database</a>
```

You might consider locking the user for a generic placeholder job

```html
<a target='_blank' href='https://talentpiper.com/demo/webinterface?nykandidat&DATA_STILLING_NEW=15788'>add me to candidate database</a>
```

# Displaying vacancy list in CMS

The following describes how to inject the list of vacancies created in TalentPiper directly into a web page.

This helps:

- Reuse styling/layout from standard pages
- Content is indexed properly with search engines

### <span class="mw-headline" id="bkmrk-integrating-with-wor-1">Integrating with WordPress using PHP</span>

From the control panel of your WordPress site do the following to integrate the vacancy list from TalentPiper:

1. Install and activate the plugin "Insert PHP Code Snippet"
2. Add a new PHP code snippet as seen below
3. Create a new page and add the snippet

Code example:

```php
echo file_get_contents("https://talentpiper.com/demo/mainpublic?command=dk.p2e.blanket.codeunit.common.PagePublicRecordsListAndShow&AjaxMode=1");
```

This approach is sightly faster than JQuery (below) and is indexable by search engines.

### <span class="mw-headline" id="bkmrk-integrating-with-any-1">Integrating with any CMS using JQuery</span>

In the CMS system insert the following code the place where you want to display the list.

&lt;div id='tsContent'&gt;Indhold hentes

```html
<script>
jQuery.ajax(
{ 
  url: 'https://talentpiper.com/demo/mainpublic?command=dk.p2e.blanket.codeunit.common.PagePublicRecordsListAndShow', 
  success: function(data) { jQuery('#tsContent').html(data); } 
});
</script>
```