Lines Matching refs:a

7 There are many different page listing / navigation plugins on the [[:plugin]] page, all trying to serve different needs.  Pagequery tries to unify many of the ideas into a compact all-in-one method of listing your wiki pages, by name, title, a-z index, by date, by year, month, day, by namespace or by creator; ...and do it quickly.

9 On the surface it may appear to fill a similar role to the really excellent [[plugin:indexmenu|IndexMenu]], however pagequery's aspirations are not as lofty or elaborate. IndexMenu focuses on displaying namespaces, and the pages within. allowing you to sort the namespaces and files by many options, and actively navigate and manipulate this index. Pagequery's purpose is __displaying lists of pages__: yes, you can sort by namespace if you wish, however the main goal is to search for and list pages in any order, and then neatly display them in groups (A-Z, by year, by month, etc...) and in addition in columns — to make best use of space. If you try both of them you'll quickly see that they //"scratch different itches."//
14 * Or limit your search to a specific namespace
20 * See a useful content preview tool-tip when you hover over each page link
21 * OR create a great blog-like start page, where links are followed by a neat snippet of the page content
25 Nothing worthwhile is built in isolation: pagequery has been built on the shoulders of giants — i.e. the DokuWiki core functions. Under the skin it makes shamefaced use of the excellent built-in page and full-text [[:search]] functions available in DokuWiki, so there's no new search syntax to learn. However it does bring a little something new to the mix by providing powerful sorting and grouping options.
28 * Listing all the pages in your wiki in a nice A-Z index, or a By Year/Month index
30 * Listing pages that discuss a particular subject (via full-text search)
31 * Listing all pages created by a certain user
33 Here's an example of all the pages in a namespace listed by date modified, and grouped by year and month:
35 "http://pagequery.googlecode.com/files/pagequery%20screenshot.png"An example of a navigation page
40 Insert the pagequery markup in a page wherever you want your list to appear. You can have more than one ''pagequery'' list on one page((works well with the [[plugin:columns|columns plugin]])).
55 For example, if you want to list all the pages in a certain namespace by A-Z, the following should do the trick:
56 {{pagequery>@namespace;fulltext;sort=a,name;group}} [fulltext version]
58 {{pagequery>@namespace *;sort=a,name;group;proper;cols=2}} [pagename version: allows regex's]
60 This would retrieve results from @namespace only (as there is no other search query you would get all the pages), and the list would be sorted by the //first letter// ('sort=a') then alphabetically ('sort=name') within each letter. The //group// option will then cause the list to be grouped by the first letter only (you cannot group by name as each one is unique).
64 {{pagequery>@namespace *;sort=a,name;group;cols=3;proper}
66 Another example, grouping by //year created//, then //month created//, then by //name//, in 2 columns, and displaying the real month name, plus having the links in "Sentence Case" with no underscores, and to top it off: a border around the table columns:
76 E.g. Search for all pages in the "drafts" namespace, listing only files beginning with a number, sorted by name: