|
Cookbook /
SearchQueryVariableSummary: New
{$SearchQuery} variable and what you can do with it.Version: 1.0
Prerequisites: PmWiki2
Status: beta
Maintainer: MateuszCzaplinski
Questions answered by this recipe
DescriptionAdd the following line to your Now, you can use the Example usageThanks to the procedure shown above, you can modify the Site.Search page of your site to allow users to create new page, with name based on the terms they were looking for. To do that, edit the Site.Search page and below the line with:
(:if ! equal "{$SearchQuery}" "" :)
'''If you want, you can also [[{$SearchQuery}|create a ''{$SearchQuery}'' page now]].'''
(:ifend:)
Notes
Release Notes
CommentsSee Also
ContributorsUser notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |