- Messaggi: 8
- Ringraziamenti ricevuti 0
Search output as blog listing PRETEXT only
- michelollivier
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
11 Anni 1 Mese fa #1469
da michelollivier
Search output as blog listing PRETEXT only è stato creato da michelollivier
Hi,
I have articles with complex output in PRETEXT (with many content plugins embeded like slideshow and video) and also very complex FULL TEXT.
Is it possible to get out of cp_module_search a blog listing only PRETEXT articles (as it), without any title ?
Regards
Michel
I have articles with complex output in PRETEXT (with many content plugins embeded like slideshow and video) and also very complex FULL TEXT.
Is it possible to get out of cp_module_search a blog listing only PRETEXT articles (as it), without any title ?
Regards
Michel
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
11 Anni 1 Mese fa #1470
da andrea_4g
Risposta da andrea_4g al topic Search output as blog listing PRETEXT only
'Only Introtext' is not among Custom Properties set of views.
However it is fairly straightforward to modify the Custom Properties layout to meet that requirement. The recommended path is to make a template override, so that future updates of Custom Proerties won't overwrite your customization.
- create directory com_customproperties/search for the overridden Custom Properties layout in templates/<your template>/html/
- copy the original CP file components/com_customproperties/views/search/tmpl/default_item.php to templates/<your template>/html/com_customproperties/search
- edit templates/<your template>/html/com_customproperties/search/default_item.php:
- delete or comment lines 15-17
However it is fairly straightforward to modify the Custom Properties layout to meet that requirement. The recommended path is to make a template override, so that future updates of Custom Proerties won't overwrite your customization.
- create directory com_customproperties/search for the overridden Custom Properties layout in templates/<your template>/html/
- copy the original CP file components/com_customproperties/views/search/tmpl/default_item.php to templates/<your template>/html/com_customproperties/search
- edit templates/<your template>/html/com_customproperties/search/default_item.php:
- delete or comment lines 15-17
Code:
<dt class="cp-title result-title">
<a href="<?php echo JRoute::_($this->row->href);?>"><?php echo $this->escape($this->row->title);?></a>
</dt>
Si prega Accesso o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.150 secondi