From: Mike Taylor Date: Mon, 3 Nov 2014 15:58:12 +0000 (+0000) Subject: Update manual to refer to facets rather than termlist (widget-name, X-Git-Tag: 1.0.0~88 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=a5ad301e7371aef956524a85e3567eb261ab70bc;p=mkws-moved-to-github.git Update manual to refer to facets rather than termlist (widget-name, re-ordering of sorted list, translatable strings, CSS classes). (Related to MKWS-322.) --- diff --git a/doc/mkws-manual.markdown b/doc/mkws-manual.markdown index 7c0dd06..0601a79 100644 --- a/doc/mkws-manual.markdown +++ b/doc/mkws-manual.markdown @@ -267,7 +267,7 @@ etc., customised layouts may wish to treat each of these components separately. In this case, `mkws-results` can be omitted, and the following lower-level widgets provided instead: -* `mkws-termlists` -- provides the facets +* `mkws-facets` -- provides the facets * `mkws-ranking` -- provides the options for how records are sorted and how many are included on each page of results. @@ -701,6 +701,8 @@ Name Description `facet` x +`facets` x + `google-image` x `images` x @@ -746,8 +748,6 @@ Name Description `switch` x `targets` x - -`termlists` x ---- @@ -874,7 +874,7 @@ The following strings occurring in the UI can be translated: `Search`, `Sort by`, `Targets`, -`Termlists`, +`Facets`, `and show`, `found`, `of`, @@ -949,7 +949,7 @@ In order to override the default CSS styles provided by the MasterKey Widget Set, it's necessary to understand that structure of the HTML elements that are generated within the widgets. This knowledge make it possible, for example, to style each `
` with class `term` but only when it occurs inside an -element with class `mkws-termlists`, so as to avoid inadvertently styling other +element with class `mkws-facets`, so as to avoid inadvertently styling other elements using the same class in the non-MKWS parts of the page. The HTML structure is as follows. As in CSS, #ID indicates a unique identifier