Edit: I have another problem too. The AjaxSearch call in my template causes a message to pop up on my secure pages: This page contains both secure and nonsecure items. It goes away if I kill AjaxSearch, but I’m wondering what is responsible for that issue.
Quote from: transeffect at Jan 09, 2008, 06:47 PM
Edit: I have another problem too. The AjaxSearch call in my template causes a message to pop up on my secure pages: This page contains both secure and nonsecure items. It goes away if I kill AjaxSearch, but I’m wondering what is responsible for that issue.
Kind of related, Google’s old Analytics does the same thing. There is information information about it here: http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55483. Not sure if that will help you to identify the problem at all.

$body = explode("<body>", $output); // break out the head $body = explode('<!--highlight-->', $output); // break out the page
):<div id="content">
<!--highlight-->
<div id="colOne">
[*content*]
</div>
<!--highlight-->
</div> <!--highlight-->
<div id="left">
<div id="left-inner">
<div id="content">
<div class="post">
<h2>[*longtitle*]</h2>
[*#content*] </div>
<!-- close .post (main column content) -->
</div>
<!-- close #content -->
</div>
<!-- end left-inner -->
</div>
<!-- end left -->
<!--highlight-->It is a good idea.
2/ to avoid to highligth menu items (not sure that it’s what you want), you can adjust and precise the highlighted part of your document by the below way: in highligth plugin change the line 53: …
With that you will be sure that the header of your page and the items of your menu will not be taken into account by the highlight plugin.
Do you plan to update ajax search so it would be possible to look the highlighted words from the drop-down menu?
When you click on "Click here to view all results", you generate a new page ($moreResultsPage) where all the search terms found are framed by highlightClass css tags. These css tags are used by the highligth plugin to highligth them on fly, when you call the page thru the title link (in the ajax output or in the MoreResultPage).
This highlighting can’t occur when you call your page from your menu, as the search terms aren’t framed by the highlightClass css tags. The result will be the same for english or Russian words.
Excuse me, where there is this adjustment ("Raw" or "Named")? What tab in Site-Configuration menu: Site, Semantic URL etc ? (I have the Russian interface of MODx back-end.)
Not sure how does it work for Cyrillic letters / html entities, but are you sure, if you use tinyMCE, that the configuration tab Entity endoding is setting to "Raw" instead of "Named". If not, your characters are may be converted and then not found during the sql search. Could you check this in the html window of your document under the tinyMCE editor and if needed, change the parameter and save again your documents with the correct entity encoding.
Could you give me a page url where the ajaxSearch issues occurs. And some english and Russian search terms to find.Unfortunately, the site is not available. I already wrote. It’s on my local Web-server.
Excuse me, where there is this adjustment ("Raw" or "Named")? What tab in Site-Configuration menu: Site, Semantic URL etc ? (I have the Russian interface of MODx back-end.)Open the TinyMCE plugin and go to the Configuration tab. There are a number of configuration options you can set there.
Yes, I will look, thanks.
Open the TinyMCE plugin and go to the Configuration tab. There are a number of configuration options you can set there.

This discussion is closed to further replies. Keep calm and carry on.