[Pro] Integrate AllSiteSearch into

Hi, from what I understand Freeway’s simple site search will not find content created within webyep. I have set up an account with All Site Search (www.allsitesearch.com) and attempted to integrate into a Freeway page. I can see the Search button but am unable to get any results. Have queried this with ASS and they gave the following response:

Try using the code below. Below the ======
You will then have a starting point for tracing the cause of your problems.

We have used that code directly on the service site, page:
http://www.allsitesearch.com/alsearch.htm

and if you try it, you will see that everything works excellent.
Type in: site search , for instance

All we have done on our page, compared to your page, is:

Here are some suggestions:

  • Check your CSS files and CSS settings
  • Check your browser(s) to accept iframes
  • Check your web server settings

Best Regards,
The All Site Search Team

====================================================================================

Search   



 



I cannot see how to remove the CSS references and remove

tags within the freeway page so they don’t display in the code so that this may work.

I know this is a bit muddled but any help appreciated.

http://www.lorirosehomeopathy.com/alsearch.htm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This advice is really bad. The issue is probably not with HTML or CSS, it’s with JavaScript. Can you please post a test page showing the broken behavior? This can’t be all that hard to sort out.

Walter

On Jun 5, 2013, at 6:37 AM, Adrian Ball wrote:

I cannot see how to remove the CSS references and remove

tags within the freeway page so they don’t display in the code so that this may work.

I know this is a bit muddled but any help appreciated.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter, thanks for your reply. I have a test page at:
http://www.lorirosehomeopathy.com/alsearch.htm

The search results should display below the search box. I have removed all the other page content in case this was causing the problem.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

There are a few things you could fix about this. First, you seem to have inserted their big blob of code into the page using a normal inline Markup Item. This creates invalid code in this instance, because it wraps their code in a P tag. You can’t nest a form tag inside a P, and you shouldn’t nest a script tag inside one either (although I think that is sorta ok).

Try this:

Draw an HTML box where you want the search form to appear, then double-click inside it and add an inline instance of the CrowBar Action inside it. Use that Action to insert your code.

Alternatively, you can click anywhere blank on your page, choose Insert / Markup Item from the main menu, and then paste your code into that dialog. Once you okay it, drag and resize the 100px square item to suit your layout. Either of these options will create valid code.

Finally, the “language” attribute to the script tag is deprecated in HTML 4 and above, so don’t use that. Your script tags should be added to the page using the Page / HTML Markup dialog, in the Before section, and they should look exactly like this:

<script type="text/javascript">
  var alswidth = 600;
</script>
<script type="text/javascript" src="http://do.allsitesearch.com/als7322_head.js">
</script>

I tried testing this here, but there doesn’t seem to be a way to use this except on a live public server at the registered domain, and then only after the indexing process is completed. This is understandable, since there has to be some key to get the proper results for your page. They are injecting an iframe into the page to display the results, and then resizing that to suit the layout.

Walter

On Jun 5, 2013, at 10:08 AM, Adrian Ball wrote:

Hi Walter, thanks for your reply. I have a test page at:
Search Results

The search results should display below the search box. I have removed all the other page content in case this was causing the problem.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter, still no joy. I added the HTML item and placed the Crowbar action inside then added the form code as here:

  

I then added the script tag as you stated in the Page / HTML Markup dialog, in the Before section. The code entered was:

Have I missed a step. The search box displays on the page but still no results appear!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I still see the language=“JavaScript” part in there, you need to take that out as well. The remote script doesn’t seem to be loading. Check with the search people whether they have activated your account, and whether they have crawled your site at all yet, either.

Walter

On Jun 5, 2013, at 3:46 PM, Adrian Ball wrote:

Hi Walter, still no joy. I added the HTML item and placed the Crowbar action inside then added the form code as here:

  

I then added the script tag as you stated in the Page / HTML Markup dialog, in the Before section. The code entered was:

Have I missed a step. The search box displays on the page but still no results appear!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options