Site search
Natashko
Posts: 3366
Reputation: 171

Message # 1 | 2:41 PM

uCoz Web Service has its own Site search.

You do not have to install this module. It is installed by default and it is a required module.
Attention: it is impossible to deinstall the Site Search module!

Though it is possible to set it up or not to use it at all.

You can select the modules to search in:


We would like to draw your attention to the setting

Supplement search results by tags with the results of site search:
If the checkbox is tagged, the site search results will be shown after the search results by tags.
Here is how the site search results will look for the request: CINEMA

And this is the way the search results by the tag CINEMA will look (You will see them in addition with site search results).

Where the first result is the search result by the tag CINEMA. And the rest of he results are site search results for the request CINEMA.
(This is an example with the default settings of Appearance of entries. "Entry brief description" in the modules is also disabled)


It is not difficult to distinguish the search results by the tag from the site search results. The appearance of the site search entries is the following: module name + the date (day-month-year the time of adding the entry).

The appearance of the search entries by the tag is the following: module name + the title of the module category (nesting depth of an entry. The code $ENTRY_DEPTH$ is responsible for that)+the date when the entry was added (day.month.year).

It is also possible to distinguish the search results by the tag from the site search results with a help of the URL of the request:

The appearance of the request URL of the site search results is the following: http://siteaddress/search/?q=
The appearance of the request URL of the search results by the tag is the following: http://siteaddress/search/

If the checkbox “Supplement search results by tags with the results of site search:” is not tagged:
the search by tag will show the results for the request of this tag only. And the site search will show the results on the search requests only.

Site search module has design customization feature.

Search page – will help you to customize the design of the page with the results of the site search and the search by tags.
Appearance of entries – will help you to customize the appearance of search results entries.

Sitemap

Sitemap is generated automatically on each website now. Users do not have to create it any more. Sitemap files are updated automatically, approximately once a day (depends on how often the website is updated). URLs of Sitemap files are written in the default robots.txt file, which we advise not to change.
You can get URLs of the Sitemap in Control panel->Site search
Note on search forms: each site module has codes $SEARCH_FORM$ and $MODULE_SEARCH_FORM$
It means that either the form for the indexed search on the whole website ($SEARCH_FORM$) or form to search entries of a module ($MODULE_SEARCH_FORM$) can be embedded into the template of the modules. Of course, both forms can be used simultaneously in order to search on the whole website or to search entries of a certain module.

Addition: on the websites with uID login, uNet users' bar has a site search form: Userbar->Control->Site search

Note:
  • The new entries are indexed within 10 days.
  • The entries that are deleted from the website, disappear from the search results within 14 days
  • In order to re-index the entries in the catalog manually, you need to tag the checkbox “Entry date:“ and Save without making any other changes.

See how to enable Site Search here:

Attachments: 4952405.png (26.3 Kb) · 2896905.png (1.4 Kb) · 7026367.png (7.1 Kb) · 0944180.png (9.3 Kb) · 8864910.png (1.5 Kb)
khen
Posts: 476
Reputation: 13

Message # 196 | 5:04 PM
Hi Guys,

Do you know how to make a thumbnail or picture visible in Search Results? Please help.

Natashko
Posts: 3366
Reputation: 171

Message # 197 | 9:12 AM
khen,
Quote (khen)
Do you know how to make a thumbnail or picture visible in Search Results? Please help.

It is not possible as far as I am aware.
Sanjay_149
Posts: 212
Reputation: 5

Message # 198 | 1:13 PM
khen, If you are talking about Site news module. Then it is possible.
Unlike computers, no human brain has ever said:" Hard drive full."
Post edited by Sanjay_149 - Wednesday, 2011-06-08, 1:14 PM
pedro
Posts: 4
Reputation: 0

Message # 199 | 8:53 AM
Sunny, Hello,
Doesn't work my site search engine. I'm trying with several variants, but it is not found anything. I don't understant what is wrong. my site http://pedronel.ucoz.com

Added (2011-07-03, 2:53 Am)
---------------------------------------------
Natashko,Hello,
Doesn't work my site search engine. I'm trying with several variants, but it is not found anything. I don't understand what is wrong. my site is http://pedronel.ucoz.com

Animorph
Posts: 2856
Reputation: 189

Message # 200 | 6:03 PM
Nobody asks for Animorph biggrin

pedro, You need to wait. It means that your website hasn't been indexed by robots. (or the new entries were added after the indexation) It will be possible to find entries with the help of "Search" after the next indexation. The indexation is performed once in 4 days. If you still have problems after these 4 days please send us your website url and let us check the problem on your site.

To busy building a passive income online ;)
Natashko
Posts: 3366
Reputation: 171

Message # 201 | 9:51 AM
pedro, I checked your website. Site search works fine there. If site search results do not display some entries, it is because of the reasons provided by Animorph
gadget
Posts: 65
Reputation: 3

Message # 202 | 2:47 PM
Dear All
Please suggest me, I'm working with fully customised templates and its has own search box. Please tell me how I link it. Couz its not working after click it said not allowed.
Please help me urgently..............

cry
waiting for your happy help biggrin

Happiness comes to those who are moving toward something they want very much to happen. And it almost always involves making someone else happy.

LOL
Gadget
Natashko
Posts: 3366
Reputation: 171

Message # 203 | 3:00 PM
gadget, post your messages in the correct board. It has nothing to do with Hints and Tips. Site search is discussed here: http://forum.ucoz.com/forum/37-13572-1#77731
In the search form “action” attribute should be equal “/search/”. And the entry field “name” attribute should be equal “q” Meaning:
Code
<form action="/search/".....
      <input type="text" name="q"....
......
</form>
gadget
Posts: 65
Reputation: 3

Message # 204 | 3:34 PM
Still not working, please help me...
my css code is like that:

<div class="search">
<h2>Search:</h2>
<form id="form1" name="form1" method="post" action="">
<label><span>
<input name="q" type="text" class="keywords" id="textfield" maxlength="50" value="Search..." />
</span>
<input name="b" type="image" src="images/search.gif" class="button" />
</label>
</form>
<div class="clr"></div>
</div>

And its same in index page also.

Please help!!!!!!!!!!! cry

Added (2011-07-14, 9:34 Am)
---------------------------------------------
Natashko, Still not working, please help me...
my css code is like that:

<div class="search">
<h2>Search:</h2>
<form id="form1" name="form1" method="post" action="">
<label><span>
<input name="q" type="text" class="keywords" id="textfield" maxlength="50" value="Search..." />
</span>
<input name="b" type="image" src="images/search.gif" class="button" />
</label>
</form>
<div class="clr"></div>
</div>

And its same in index page also.

Please help!!!!!!!!!!! cry

Happiness comes to those who are moving toward something they want very much to happen. And it almost always involves making someone else happy.

LOL
Gadget
Post edited by gadget - Thursday, 2011-07-14, 3:38 PM
Natashko
Posts: 3366
Reputation: 171

Message # 205 | 3:48 PM
gadget, substitute:
Code
<form id="form1" name="form1" method="post" action="">

with:
Code
<form id="form1" name="form1" method="get" action="/search/">
gadget
Posts: 65
Reputation: 3

Message # 206 | 6:44 PM
Natashko, Dear Natashko
I changed as u told although the
its work but like that:



[Advanced search]
Site pages
Results 0-0 of 0 for the request aluminium
Nothing found by the request

Happiness comes to those who are moving toward something they want very much to happen. And it almost always involves making someone else happy.

LOL
Gadget
Natashko
Posts: 3366
Reputation: 171

Message # 207 | 9:41 AM
gadget, provide a website name for us to be able to check. Most probably search form works, it is just the entries you are looking for haven't been indexed by the search engines yet.
gadget
Posts: 65
Reputation: 3

Message # 208 | 8:06 PM
Natashko, but it not search all custom pages contents. It only serch in defalut home page or contact page.
What I do???

Happiness comes to those who are moving toward something they want very much to happen. And it almost always involves making someone else happy.

LOL
Gadget
Natashko
Posts: 3366
Reputation: 171

Message # 209 | 1:26 PM
gadget,
Quote (gadget)
but it not search all custom pages contents. It only serch in defalut home page or contact page.

I am not aware of any search limitations. (like the one you mention). Provide a website name for us to be able to check.
gadget
Posts: 65
Reputation: 3

Message # 210 | 1:34 PM
Natashko,
Here is the site address
http://nahidfoils.ucoz.com

Quote
I am not aware of any search limitations. (like the one you mention). Provide a website name for us to be able to check.

Happiness comes to those who are moving toward something they want very much to happen. And it almost always involves making someone else happy.

LOL
Gadget
Post edited by gadget - Tuesday, 2011-08-16, 1:35 PM
Search: