- Posts: 15
- Thank you received: 1
Title + HTML Intro
- valxris
- Topic Author
- Offline
- New Member
Less
More
9 years 11 months ago - 9 years 11 months ago #2070
by valxris
Title + HTML Intro was created by 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
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
Last edit: 9 years 11 months ago by valxris.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
9 years 11 months ago #2071
by andrea_4g
Replied by andrea_4g on 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.
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.
The following user(s) said Thank You: valxris
Please Log in or Create an account to join the conversation.
- valxris
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 1
9 years 11 months ago #2072
by valxris
Replied by valxris on 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.
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.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
9 years 11 months ago #2073
by andrea_4g
Replied by andrea_4g on 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
I think this older post may answer your question:
www.solidsystem.it/forum/8-cp-20-for-j16...la-article.html#1577
Please Log in or Create an account to join the conversation.
- valxris
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 1
9 years 11 months ago - 9 years 11 months ago #2074
by valxris
Replied by valxris on 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
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
Last edit: 9 years 11 months ago by valxris.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
9 years 11 months ago #2077
by andrea_4g
Replied by andrea_4g on 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>)
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>)
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds