Search Results are stripped of HTML

  • rperry
  • Topic Author
  • Offline
  • New Member
  • New Member
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.

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

  • rperry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
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?

Please Log in or Create an account to join the conversation.

More
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