if ($ex['type'] == 'URL') { if (preg_match('@(\.pdf)$@i', $ex['value'])) { $html .= '<a href="'.$ex['value'].'" title="'.$ex['title'].'" target="_blank"><i class="fas fa-file-pdf"></i> '.$ex['title'].'</a>'; } else { $html .= '<a href="'.$ex['value'].'" title="'.$ex['title'].'" target="_blank">'.$ex['title'].'</a>'; }}
API Server URL: The URL of the site you have Directory component installed (without trailing slash), not elxis forums. Note that the site must be online in order for the API server to work.Do not post encryption key in public.