- Posts: 12
- Thank you received: 0
Search Results are stripped of HTML
- rperry
- Topic Author
- Offline
- New Member
Less
More
12 years 9 months ago #536
by rperry
Search Results are stripped of HTML was created by rperry
How do I prevent the Search results from being stripped of HTML? Please see
www.enernoc.com/our-resources
.
If you filter the search by webinars you'll see that the HTML is being stripped. Compare the results to simply clicking on the webinars link on the submenu to the right.
If you filter the search by webinars you'll see that the HTML is being stripped. Compare the results to simply clicking on the webinars link on the submenu to the right.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
12 years 9 months ago #537
by andrea_4g
Replied by andrea_4g on topic Re: Search Results are stripped of HTML
1) Set 'View' = Title + HTML Intro
2) Configure 'Allowed tags' parameter
2) Configure 'Allowed tags' parameter
Please Log in or Create an account to join the conversation.
- rperry
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 9 months ago #538
by rperry
Replied by rperry on topic Re: Search Results are stripped of HTML
That did it.
But it introduce another issue. I now have double title.
In Webinar articles I have the title hidden by default, because The <h2> in the article itself includes the title that links directly to a video that opens in a Shadowbox. How can I hide all titles that are hidden by default in the article editor?
But it introduce another issue. I now have double title.
In Webinar articles I have the title hidden by default, because The <h2> in the article itself includes the title that links directly to a video that opens in a Shadowbox. How can I hide all titles that are hidden by default in the article editor?
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
12 years 9 months ago #546
by andrea_4g
Replied by andrea_4g on topic Re: Search Results are stripped of HTML
You can strip <h2> tags from HTML or modifiy components/com_customproperties/views/show/tmpl/default and comment out the call to 'showTitle' function.
Please Log in or Create an account to join the conversation.
Time to create page: 0.136 seconds