Page 1 of 1
The SEARCH object
Posted: Tue Feb 19, 2019 8:10 am
by alex4orly
Not clear on how to use this object?
I assume it is intended to give visitors a way to find a page / pages for a certain topic / keywords...
But how?
Chees
Re: The SEARCH object
Posted: Tue Feb 19, 2019 8:29 am
by Pablo
Re: The SEARCH object
Posted: Tue Feb 19, 2019 10:39 am
by alex4orly
I looked at the tutorial, looks like it will do the trick
Thanks again
Re: The SEARCH object
Posted: Tue Feb 19, 2019 10:17 pm
by alex4orly
OK, I implemented this function and have 2 questions:
1) It seems the search script only searches in my HTML pages, but I have documents in PDF format embeded into an iFrame, it seems those are ignored in the search. Is there a way to include them?
2) If you try searching for a word, say "members" , and I click on the result, it brings up the page itself, but the page is embeded in an iFrame which doesn't show...
Please visit this :
http://www.beleuramyhome.org.au/updir/home.html
Enter in the search field CLA which is a word on the front page, then click the result
What can I do about it?
Re: The SEARCH object
Posted: Wed Feb 20, 2019 6:54 am
by Pablo
1. The script cannot search in PDFs. There is no way to include external content.
2. You can set the target of the link in the property inspector. Did you try _'self'?
Re: The SEARCH object
Posted: Wed Feb 20, 2019 7:32 am
by alex4orly
1) understand
2) Where can I set that?
Re: The SEARCH object
Posted: Wed Feb 20, 2019 7:37 am
by Pablo
Where can I set that?
In the property inspector.
Re: The SEARCH object
Posted: Wed Feb 20, 2019 7:43 am
by alex4orly
In the "Results" selection drop down? There is no such option
Re: The SEARCH object
Posted: Wed Feb 20, 2019 8:00 am
by Pablo
Re: The SEARCH object
Posted: Wed Feb 20, 2019 11:00 am
by alex4orly
Sorry, Can't find such a dialog...
The Search input field has the following tabs : General, Style, Box Shadow, Padding
Obviously, I should look elswehere.... where?
Re: The SEARCH object
Posted: Wed Feb 20, 2019 11:04 am
by Pablo
Re: The SEARCH object
Posted: Wed Feb 20, 2019 7:24 pm
by alex4orly
OK, Found it and the result is OK, But
Please visit
http://www.beleuramyhome.org.au/updir/home.html#
On the front page, you can see the word NDIS, try entering it into the search box, click - it does not find it...
Why?
Re: The SEARCH object
Posted: Wed Feb 20, 2019 9:13 pm
by Pablo
Maybe the search index is configured to use text objects only?
Re: The SEARCH object
Posted: Wed Feb 20, 2019 9:32 pm
by alex4orly
It is, what else can I add for it to include the blog?
Re: The SEARCH object
Posted: Wed Feb 20, 2019 9:49 pm
by Pablo
To include all objects, select 'Page Content'
Re: The SEARCH object
Posted: Wed Feb 20, 2019 9:57 pm
by alex4orly
Thanks again