Salve, ho provato ad installare il compoente (sia in versione 1.0 che 1.0.1), ma noto due problemi:
1) nella visualizzazione degli elementi della categoria, invece delle informazioni compare:
[rams->get( 'view_rate' )){ $html=""; $img = ''; // look for images in template if available $starImageOn = JHTML::_('image.site', 'rating_star.png', DS.'images'.DS.'M_images'.DS ); $starImageOff = JHTML::_('image.site', 'rating_star_blank.png', DS.'images'.DS.'M_images'.DS ); for ($i=0; $i < $row->rating; $i++) { $img .= $starImageOn; } for ($i=$row->rating; $i < 5; $i++) { $img .= $starImageOff; } $html .= ''; $html .= JText::_( 'User Rating' ) .':'. $img .' / '; $html .= intval( $row->rating_count ); $html .= "\n"; echo $html; } ?>
2) quando poi tento di visualizzare la scheda (cliccando sul nome), ottengo:
Parse error: parse error in C:\wamp\www\joomla15\components\com_abook\views\book\tmpl\default.php on line 211
Uso Joomla 1.5.22 e PHP 5.30
RISOLTO:
I seguenti file hanno dei tag con la notazione brefe ("<?" e non "<?php")
components\com_abook\views\author\tmpl\default.php
components\com_abook\views\author\tmpl\default.php
components\com_abook\views\book\tmpl\default.php
components\com_abook\views\categories\tmpl\default.php
components\com_abook\views\category\tmpl\default.php
components\com_abook\views\search\tmpl\default_form.php
components\com_abook\views\search\tmpl\default_results.php
Qualche idea? Grazie