Sorry interpreted wrongly , you will have to change four paths ,
Go to modules/mod_freichatx/mod_freichatx.php
Now , consider two cases ,
Remember the case that you want i will use them below.
CASE 1:. You want the folder to be inside Joomla directory
consider it to be in
Joomla_installed_folder/IN_FOLDER/freichat
CASE 2:. You want the folder outside joomla directory
consider it to be in
OUT_FOLDER/freichat
if(is_file(JPATH_SITE."/freichat/arg.php")){
The JPATH_SITE is a constant that returns the path to the Joomla directory
for CASE 1 :
replace the code by
if(is_file(JPATH_SITE."/IN_FOLDER/freichat/arg.php")){
for CASE 2 :
replace the code by
if(is_file("/root path to someotherfolder/freichat/arg.php")){
Make appropriate changes
On line 19 you will find
require(JPATH_SITE.'/images/freichat/arg.php');
Make the same changes as you did in line 15.
Now come to line 35
you should find
$document->addScript($host.'freichat/client/main.php?id='.$ses.'&xhash='.freichatx_get_hash($ses));
for CASE 1:
Replace it by
$document->addScript($host.'IN_FOLDER/freichat/client/main.php?id='.$ses.'&xhash='.freichatx_get_hash($ses));
for CASE 2 :
Replace it by
$document->addScript('http://blerit.com/OUT_FOLDER/freichat/client/main.php?id='.$ses.'&xhash='.freichatx_get_hash($ses));
Make appropriate changes
Similarly for the next line
$document->addStyleSheet($host.'freichat/client/jquery/freichat_themes/freichatcss.php');
Make the same change as you did for line 35
It looks a little complicated but it isn't.
If you are unable to get it , then please let me know , i will do it for you .
Sorry interpreted wrongly , you will have to change four paths ,
Go to modules/mod_freichatx/mod_freichatx.php
Now , consider two cases ,
Remember the case that you want i will use them below.
<ul>
<li>
CASE 1:. You want the folder to be inside Joomla directory
</li>
consider it to be in
Joomla_installed_folder/IN_FOLDER/freichat
<li>
CASE 2:. You want the folder outside joomla directory
</li>
</ul>
consider it to be in
OUT_FOLDER/freichat
<hr/>
<ul>
<li>
On line 15 you will find
</li>
<code>
if(is_file(JPATH_SITE."/freichat/arg.php")){
</code>
The JPATH_SITE is a constant that returns the path to the Joomla directory
for CASE 1 :
replace the code by
<code>
if(is_file(JPATH_SITE."/IN_FOLDER/freichat/arg.php")){
</code>
for CASE 2 :
replace the code by
<code>
if(is_file("/root path to someotherfolder/freichat/arg.php")){
</code>
Make appropriate changes
<li>On line 19 you will find
</li>
<code>
require(JPATH_SITE.'/images/freichat/arg.php');
</code>
Make the same changes as you did in line 15.
<li>Now come to line 35
</li>
you should find
<code>
$document->addScript($host.'freichat/client/main.php?id='.$ses.'&xhash='.freichatx_get_hash($ses));
</code>
for CASE 1:
Replace it by
<code>
$document->addScript($host.'IN_FOLDER/freichat/client/main.php?id='.$ses.'&xhash='.freichatx_get_hash($ses));
</code>
for CASE 2 :
Replace it by
<code>
$document->addScript('http://blerit.com/OUT_FOLDER/freichat/client/main.php?id='.$ses.'&xhash='.freichatx_get_hash($ses));
</code>
Make appropriate changes
Similarly for the next line
<code>
$document->addStyleSheet($host.'freichat/client/jquery/freichat_themes/freichatcss.php');
</code>
<li>Make the same change as you did for line 35
</li></ul>
It looks a little complicated but it isn't.
If you are unable to get it , then please let me know , i will do it for you .