Heading + image in search result

  • frete
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
10 Anni 1 Mese fa #1787 da frete
Heading + image in search result è stato creato da frete
I would like to have only heading + image in search result. No text. If I set text to 0, all text will show. What do I do?

I also find the tag ordering a bit confusing. The order in the search module is opposite the ordering of tags in item pages (plugin)! That means that if I have some tags that are more important and I move them in Manage Custom Properties to get it right in the module, the most important tags will be shown not first but last by the plugin!

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
10 Anni 1 Mese fa #1791 da andrea_4g
Risposta da andrea_4g al topic Heading + image in search result
1) heading + image
You need to code your own template override or your own alternative layout.
see here:
www.solidsystem.it/forum/8-cp-20-for-j16...properties.html#1528

2) As far as I can tell the ordering is the same:

Allegati:

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • frete
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
10 Anni 1 Mese fa #1794 da frete
Risposta da frete al topic Heading + image in search result
What text/code should be changed i which file? I´m not a hacker. There is no "show" folder. There is a views - search - tmpl in com_customproperties.

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
10 Anni 1 Mese fa #1795 da andrea_4g
Risposta da andrea_4g al topic Heading + image in search result

There is no "show" folder

Sorry. The folder name is 'search'.

Procedure for Joomla 3.x
1) create folder templates/<your template>/html/com_customproperties/search
2) copy file components/com_customproperties/views/search/tmpl/default_item.php
to templates/<your template>/html/com_customproperties/search
3) edit templates/<your template>/html/com_customproperties/search/default_item.php

Since you need no text whatsoever, you can delete lines from 44 to 74.

(An hacker is not required but a cursory of knowledge is advisable.)

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • frete
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
10 Anni 1 Mese fa #1796 da frete
Risposta da frete al topic Heading + image in search result
Thank you very much! It worked.

Si prega Accesso o Crea un account a partecipare alla conversazione.

Tempo creazione pagina: 0.137 secondi