I use the utChat component based on Php Free Chat Version 0.9.1 for Joomla.
It's great but I would like to show it in a position of my template like a module.
But, I only can link it to a button of the menu

Does anyone have any solution ?
Thanks.
Moderators: OldWolf, re*s.t.a.r.s.*2
<?php
require_once "src/phpfreechat.class.php"; // adjust to your own path
$params["serverid"] = md5(__FILE__); // used to identify the chat
// the full list of paramaters is on http://www.phpfreechat.net/parameters
$chat = new phpFreeChat($params);
?>
<?php
if ($_SERVER['REQUEST_URI'] == "index.php?option=com_content&view=article&id=19") // or other url, this work for SEF urls too.
{
$chat->printChat();
}
?>
Return to Joomla, Drupal, and Wordpress (v1.x)
Users browsing this forum: No registered users and 79 guests