Joomla.it Forum
Joomla! 2.5 (versione con supporto terminato) => Joomla! 1.6/1.7/2.5 => : Razzo 01 Nov 2012, 18:04:33
-
Ho scaricato quest'estensione: http://joomseller.com/joomla-components/real-estate-component.html
Dal readme questa è la procedura di installazione:
Please follow these steps to install ZJ Realty to your joomla 1.5 and joomla 1.6 site.
1. Preparing step:
- Please select "GeoIP Libraries" in dropdown list in product page to download this libraries or just download it from this direct link "http://joomseller.net/download/geolocation.zip" then extract this file to you root of site.
- Follow this link to register a Google Maps API: http://code.google.com/apis/maps/signup.html
- Follow this link to register a Google Rechaptcha key: https://www.google.com/recaptcha/admin/create
2. Install component (for joomla 1.5, if you are using joomla 1.6 version, it is the same)
- Go to your site administrator section;
- Select "Extensions"->"Install/Uninstall"
- In "Upload Package File" block, please install all extensions bellow:
+ com_zj_realty 2.0.0 j1.5.zip (this is a required extension, it is zj realty component core)
+ mod_zjrealty_search 2.0.0 j1.5.zip (optional, this is the search realty module)
- Please do the same all steps above for joomla 1.6
3. Configuration
- Component Configuration: Please follow step by step to configure ZJ Realty for your site.
+ Go to "Components"->"ZJ Realty"->"Configuration" to configure for component, don't forget to put Google Maps API Key at there.
+ click "Fields" then "Add" new extra fields for your site if necessary.
+ click "Currencies" then "Add" new currencies for your site if necessary.
+ Then go to "Categories" and "Add" new categories for your realty
+ click "Types" then "Add" new types for your realty.
+ Then "Realty" and "Add" new realty for your site (Note that all realty require a category and a type to be shown).
- Modules Configuration:
+ Go to "Extensions"->"Modules Manager"
+ Select the "Searh Realty" module you want to configure it.
Ma non capisco dove devo caricare i file contenuti in geolocation.zip
Dice in ROOT, ma li ho caricati sotto:
ma continua a darmi l'errore: GeoIP libraries not found! Please find the file geolocation.zip in downloaded package then extract it to you root of site first
Qualcuno è riuscito a farlo funzionare?
-
Risolto, scompattavo lo zip e poi copiavo il contenuto della cartella scompattata e non la cartella.
Ora ho un nuovo quesito:
if (count($fields)) {
foreach ($fields as $extrafield) {
if (!empty($extrafield->field_value[0])) {
echo '<b>' . JText::_($extrafield->title) . ':</b> ';
$e = 0;
foreach ($extrafield->field_value as $value) {
echo JText::_($value);
if ($e != (count($extrafield->field_value) - 1)) echo ", ";
$e++;
}
//JText::_($extrafield->field_value) .
echo '<br/>';
}
}
}
stampa tutti gli attributi di seguito.
se io volessi stampare un solo attributo specifico come lo recupero?