uCoz Community uCoz Modules Additional Features Site search (And everything that is related to it) |
Site search |
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:
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)
|
I created a new site 7 days ago and when I try to search for something it gives me that error:
"Script error 500 Service is temporary unavailable. Try again in few minutes." What should I do to fix that?? I haven't make any changes in the template. Post edited by TelisZ13 - Monday, 2010-03-29, 10:17 AM
|
The module Site Search of my site, is searching only Site news entries. but the settings of Site search module like this
why? Attachments:
1332853.jpg
(67.2 Kb)
Post edited by Omar - Sunday, 2010-03-28, 9:35 AM
|
Omar, Login on your site and click from the User Bar the Builder --> Enable Builder. When it's done loading the page find the search block. click on the blue circle above that block. Then click on the HTML tab and change the $MODULE_SEARCH_FORM$ with $SEARCH_FORM$. Once you do that click Save and finally go to User Bar --> Builder --> Save Changes. And now you should be able to see results from all the modules.
|
omiko, To switch to the Builder mode, log in to the site as an administrator and choose the item "Builder" in the Admin Bar. and after that do as I say on the post above. Template builder is different.
But you can do something else too. Go to Control Panel --> Customize design and search for $MODULE_SEARCH_FORM$ on the template and change it with this: $SEARCH_FORM$ If you need more help with that give me a link to your website to tell you exactly what you have to do. |
TelisZ13,
Quote To switch to the Builder mode, log in to the site as an administrator and choose the item "Builder" in the Admin Bar. and after that do as I say on the post above. Template builder is different.
Quote But you can do something else too. Go to Control Panel --> Customize design and search for $MODULE_SEARCH_FORM$ on the template and change it with this: $SEARCH_FORM$ i use code $SEARCHFORM$ in the Search page of my site. and when i am going to this link: www.domain.ge/search and use this form, it search only in Site news module, and i need to find entries in all module of my site.... |
Omar, as far as I can see your search works fine. Note that new entries are being indexed once per 4-5 days. Therefore entries added on March 27 cannot be found, you need to wait a couple of days.
I'm not active on the forum anymore. Please contact other forum staff.
|
| |||