Search Result Renders Javascript Code

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/14/2011 4:31:10 AM
Gravatar
Total Posts 70

Search Result - Returns Javascript Code

Hi Joe,

I am trying to optimize search result. I have HTML Content and I embed JavaScript code on it.  

I want to omit results that returns my JavaScript code. Also some results do not contain details after the

title.

 

Your help is greatly appreciated.

 

 

Thanks.

6/15/2011 10:12:33 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Search Result Renders Javascript Code

You can filter results for HTML content instances, but only at the entire instance level. Go to the instance settings, general tab, and uncheck "Include In Search Index" to prevent it from being included in search results. For the second issue, you might try rebuilding your search index and see if that helps.

Jamie

You must sign in to post in the forums. This thread is closed to new posts.