Exclude Objects From Search Results 
Autor: Alvin L.
Visitado 343,
Seguidores 1,
Compartilhado 0
Is there a way to exclude objects like the HTML Code object from search results when using the built in Search?
Publicado em
Autor
I would really like to exclude all of the "HTML Code" objects from the WX5 built in Search object results. Is there something that can be added to the code segment to make it hidden from the search? Maybe something that can be configured here:
#imHTMLObject_74_81 {
}
Autor
In case anyone wants to do this in the future, I did figure out how to exclude my HTML Code segments from the built in X5 Search function. This is a very simple solution. All you need to do is wrap your segment of code between two comments like this:
<!-- UNSEARCHABLE -->
...put your code here...
<!-- UNSEARCHABLE END -->
I hope this helps someone or atleast keeps you from spending several hours digging through PHP script to figure it out.
Alvin