slide countdown e highlist modulo aggiornato 5 v
This commit is contained in:
@ -53,11 +53,17 @@ class HighlightsModel extends ListModel
|
||||
'descrizione', 'a.descrizione',
|
||||
'lingua', 'a.lingua',
|
||||
'link_pulsante', 'a.link_pulsante',
|
||||
'link_pdf', 'a.link_pdf',
|
||||
'testo_pulsante', 'a.testo_pulsante',
|
||||
'data', 'a.data',
|
||||
'classe', 'a.classe',
|
||||
'immagine_main', 'a.immagine_main',
|
||||
'immagine_secondaria', 'a.immagine_secondaria',
|
||||
'classe', 'a.classe',
|
||||
'colore_testo', 'a.colore_testo',
|
||||
'colore_sfondo', 'a.colore_sfondo',
|
||||
'opacita', 'a.opacita',
|
||||
'colore_sfondo_bottone', 'a.colore_sfondo_bottone',
|
||||
'colore_testo_bottone', 'a.colore_testo_bottone',
|
||||
'data_inizio_pubblicazione', 'a.data_inizio_pubblicazione',
|
||||
'data_fine_pubblicazione', 'a.data_fine_pubblicazione',
|
||||
);
|
||||
@ -186,6 +192,14 @@ class HighlightsModel extends ListModel
|
||||
}
|
||||
|
||||
|
||||
// Filtering etichetta
|
||||
$filter_etichetta = $this->state->get("filter.etichetta");
|
||||
|
||||
if ($filter_etichetta)
|
||||
{
|
||||
$query->where("a.`etichetta` = '".$db->escape($filter_etichetta)."'");
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Add the list ordering clause.
|
||||
|
||||
@ -48,7 +48,8 @@ class HtmlView extends BaseHtmlView
|
||||
$this->items = $this->get('Items');
|
||||
$this->pagination = $this->get('Pagination');
|
||||
$this->params = $app->getParams('com_highlights');
|
||||
|
||||
$this->filterForm = $this->get('FilterForm');
|
||||
$this->activeFilters = $this->get('ActiveFilters');
|
||||
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
|
||||
Reference in New Issue
Block a user