This guide is posted with the permit of Mosets Consulting as it contains parts of commercial code. Consider that the guide is related to Joom!Fish 1.7 and Hot Property 0.98, anyway it is expected to work in the same way with different versions.
How to make Hot Property to work with Joom!Fish?
One of the weaknesses of the great commercial component Hot Property provided by Mosets Consulting is that it doesn’t operate properly on Multilanguage sites.
What you could do is to make several hacks in order to make the component Multilanguage.
1. Open the file components/com_hotproperty/hotproperty.php and find on row 37 the following code:
Code: Select all
if ($hp_language=='') {
$hp_language='english';
} else {
$hp_language=$mosConfig_lang;
}
include_once('components/com_hotproperty/language/'.$hp_language.'.php');
Code: Select all
if (file_exists($mosConfig_absolute_path . '/components/com_hotproperty/language/' . $mosConfig_lang . '.php')) {
include($mosConfig_absolute_path . '/components/com_hotproperty/language/' . $mosConfig_lang . '.php');
} else {
include($mosConfig_absolute_path . '/components/com_hotproperty/language/english.php');
}
Code: Select all
if ($hp_language=='') {
$hp_language='english';
}
include_once($mosConfig_absolute_path.'/components/com_hotproperty/language/'.$hp_language.'.php');
if ( $mosConfig_lang == '' ) {
$mosConfig_lang = 'english';
}
include_once ( $mosConfig_absolute_path.'/language/'.$mosConfig_lang.'.php' );
and replace it with:
Code: Select all
if (file_exists($mosConfig_absolute_path . '/components/com_hotproperty/language/' . $mosConfig_lang . '.php')) {
include($mosConfig_absolute_path . '/components/com_hotproperty/language/' . $mosConfig_lang . '.php');
} else {
include($mosConfig_absolute_path . '/components/com_hotproperty/language/english.php');
}
Code: Select all
if ($hp_language=='') {
$hp_language='english';
}
include_once('components/com_hotproperty/language/'.$hp_language.'.php');
Code: Select all
if (file_exists($mosConfig_absolute_path . '/components/com_hotproperty/language/' . $mosConfig_lang . '.php')) {
include($mosConfig_absolute_path . '/components/com_hotproperty/language/' . $mosConfig_lang . '.php');
} else {
include($mosConfig_absolute_path . '/components/com_hotproperty/language/english.php');
}
The content elements can be downloaded from:
http://forge.joomla.org/sf/go/projects. ... t_property
Upload them to administrator/components/com_joomfish/contentelements/ and you are now able to translate the entries.
You can easy upload the content element files with the special component names Joom!Fish Content Element Installer. Download it from:
http://forge.joomla.org/sf/frs/do/downl ... s4992?dl=1