Title + HTML Intro

  • valxris
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
9 Anni 5 Mesi fa - 9 Anni 5 Mesi fa #2070 da valxris
Title + HTML Intro è stato creato da valxris
Hi

At search results i use tittle + html intro and a thumbnail image. However in the intro text i use another image before the text which is not shown at the search results. When i check with firebug i see
<p> </p> which in the empty space should be the image.

Please tell me how to fix this

And another question
How to make the search result page url to be search engine friendly?

Thank you
Valantis
Ultima Modifica 9 Anni 5 Mesi fa da valxris.

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

Di più
9 Anni 5 Mesi fa #2071 da andrea_4g
Risposta da andrea_4g al topic Title + HTML Intro
HTML tags are selectively stripped from the result entries.
You can decide which tags to remove and which to allow with with 'Allowed tags' parameter in CP configuration.
You need to add <img>.

The search result page url cannot be made search engine friendly. In fact, even major search engines don't have SEF urls.
I seguenti utenti hanno detto grazie : valxris

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

  • valxris
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
9 Anni 5 Mesi fa #2072 da valxris
Risposta da valxris al topic Title + HTML Intro
Hi thank you for replying.
I already have added the <img> tag at the configuration but with no result.
<p><img class="nothumb" src="images/accommodation/stars/4stars.png" alt="4stars" width="107" height="25" /></p>
Do you see something in this line which you think will make cp to strip the image tag?
I already have tried to remove the "nothumb" class but no results.

Thank you.

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

Di più
9 Anni 5 Mesi fa #2073 da andrea_4g
Risposta da andrea_4g al topic Title + HTML Intro
Yes I do.

I think this older post may answer your question:
www.solidsystem.it/forum/8-cp-20-for-j16...la-article.html#1577

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

  • valxris
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
9 Anni 5 Mesi fa - 9 Anni 5 Mesi fa #2074 da valxris
Risposta da valxris al topic Title + HTML Intro
Ihe issue is different

The thumbnail image is showing correctly the intro image.
But i am trying to make the first image in the intro text to appear which is not.

this is how it looks
url

and this is how it should look

url
Ultima Modifica 9 Anni 5 Mesi fa da valxris.

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

Di più
9 Anni 5 Mesi fa #2077 da andrea_4g
Risposta da andrea_4g al topic Title + HTML Intro
Thanks for the urls.

If I get it right you need to:
- have the first image made into a thumbnail
- have another image (stars) untouched.

That is not doable, because the creation of the thumbnail removes all the images from the article text and later adds the generated thumbnail of the first (or last) image found.

There are two options:
- make some custom modifications to Custom Properties
- display the stars not using images but using FontAwesome icons (eg. <i class="fa fa-star-o></i>)

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

Tempo creazione pagina: 0.144 secondi