Discussion of PageListsQ How can I configure my site to always exclude wiki-related pages from searches? Add Try the following in your local/config.php file. See also Cookbook:SearchPatterns. ## Exclude Certain pages / groups from search results. $SearchPatterns['default'][] = '!\\.(All)?Recent(Changes|Uploads|Comments)$!'; $SearchPatterns['default'][] = '!\\.Group(Print)?(Header|Footer|Attributes)$!'; $SearchPatterns['default'][] = '!\\.(Left|Right|Side)(Bar|Menu|Note)$!'; $SearchPatterns['default'][] = '!^Site\\.!'; $SearchPatterns['default'][] = '!^PmWiki\\.!'; If you add Q How do I turn on wiki word spacing in page lists? Try the following in your Site.LocalTemplates? ---- !!!fmt=#simplelist Simple list of page names, without the Group name. [@ [[#simplelist]] [[({=$Group}/){=$Name}|{=$Titlespaced}]], [[#simplelistend]] @] Q Can I customize the text in the button generated by the The searchbox directive does not appear to support a parameter to change the label of the associated submit button. Q How to list only pages that have their title (*not* name) starting with A, B, C,… (:pagelist $Title=A*,B*,C* :) Q How do I search for pages changed by an particular author? It would be useful to provide Author= (similar to name= or group=). Try using the Cookbook:AuthorContribution recipe. This recipe provides a way to automatically keep a list of the pages each author has edited by producing an “Author Contributions” page with a name of Profiles.<author’s name>-Contrib for each author that has a page in the Profiles group. Contributions by authors without profile pages are placed in a single Profiles.Other-Contrib page. You may try pagelist using $LastModifiedBy variable, as in : Q How to exclude deleted pages from Use (:pagelist trail=Site.AllRecentChanges if="exists {=$FullName}" …:) Q order=ctime displays the pages in the order they were created. Is there a way to reverse this (so that the newest page appears first)? Yes. Use Q A pagelist excludes the current page from the generated list if “list=normal”, how can the current page be included while retaining all the other benefits of using “list=normal”? Set in config.php this: Then use Q Is it possible to return a list of all pages that are not protected by the site password? Experimenting with the “passwd=“-attribute didn’t get me very far…
Perhaps Cookbook:AuthListShort might help. Q I want to list all the pages in a wikigroup dynamically, how do I do that? E.g. I am creating groups Apple, Orange, Pear and I want each group page to display all the associated group pages e.g. Apple.RecentChanges, Apple.Apple, Apple.HomePage in each Apple page & Orange.somePage, Orange.RecentChanges in each Orange page. It is something like a page directory. How do I do this using a template for every page? Thanks so much!
You can use: QHow do I search for pages changed after a particular date? … Q Using pagelist with the link-parameter causes on Strato an “Internal Server Error:” “The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.”
The same thing happens when trying to search something or when trying to load the PmWikiDe/DocumentationIndex page. Are there ideas for a workaround?
I had a similar error on Free.fr due to a local misconfiguration of PHP4. Switching the website to PHP5 solved the issue. As Strato supports different versions of PHP4 and 5, you should try all and tell us if/when it works. (Read the FAQs: you need to rename your index.php to index.php5, or add in your /.htaccess the code: “ Q How do I capture the output from “fmt=count” into a page text variable? I want to test if the pagelist returns any items, or to separate the pagelist into two columns.
Q Is it possible to find backlinks to all pages in a group, or multiple pages? eg (:pagelist group=Cookbook link=Category/:) or (:pagelist group=Cookbook link=Category/One,Category.Two:) or (:pagelist group=Category link=Cookbook.*:) Q Can I pass a named parameter to a pagelist, eg a number to set a thumbnail size? For example Q How can I include backlinks to pages which only link to current page via pagelist? i.e page “A” has a pagelist which generates a list of links to “B”,”C”,”D” … a backlinks pagelist on page “B” does not list page “A” because there is no REAL link from “A” to “B”. This is a talk page for improving PmWiki.PageLists. |