Take advantage of event schedule integration. Phonexa offers custom PHP integrations that can be used to display events on your platform.
Phonexa provides you with the capability to display meetings/events on your own site. For example, by using the link below you can display a full list of your meeting calendar on your website:
https://{YOUR_CONTROL_PANEL_LINK}/crm/meet
Custom page PHP example
You can use the following (PHP) code to display a particular meeting/event:
<?php
$content = @file_get_contents('https://{YOUR_CONTROL_PANEL_LINK}/crm/meet?id=' . (int)$_GET['id'],false, stream_context_create($defContextOptions));
?>
<h1>Page Section Title</h1>
<!-- BEGIN: event display -->
<div>
<?php echo $content; ?>
</div>
<!-- END: event display -->
Wordpress example
First, add the following code to your Wordpress theme's functions.php file:
function meet_the_team($atts) {
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, POST");
header("Access-Control-Max-Age: 86400");
$get_ = parse_url($_SERVER['REQUEST_URI']);
parse_str($get_['query'], $get_);
if (!isset($get__['id'])) $get_['id'] = 0;
$defContextOptions = [
"ssl" => [
"verify_peer" => false,
"verify_peer_name" => false,
],
];
try {
$content = @file_get_contents('https://{YOUR_CONTROL_PANEL_LINK}/crm/meet?id=' . (int)$get_['id'],false, stream_context_create($defContextOptions));
$content .= '<script>document.domain = \'{YOUR_MAIN_SITE_LINK}\';</script>';
} catch (ErrorException $e) {
$content = '';
}
echo $content;
}
add_shortcode('meet_the_team', 'meet_the_team');
Then, locate the page in the Wordpress admin, and insert the following short code to display the meeting on that page:
[meet_the_team]
The examples above assume that you'd like to display a specific meeting, which will require that you find the meeting IDs within your Phonexa installation.