Nestable Search Module
This package allows nesting to be done on ListPages module.
Normally, using the following code will give an unwanted result:
[[module ListPages separate="false" limit="1"]]
[[module Search]]
[[/module]]
�1630�
Use this instead:
[[module ListPages separate="false" limit="1"]]
[[include :csi:include:search site=%%site_name%%]]
[[/module]]
{"module":"search\/SearchModule","params":{"site":"csi"}}
Instructions
To install this package in your site, create/edit these pages with the following content:
This page | Contains this line |
---|---|
any page with ListPages | [[include :csi:include:search site=%%site_name%%]] |
Include files
search | By tsangk | 16 Nov 2010 11:37 |
Comments: 2
page revision: 1, last edited: 16 Nov 2010 11:38
You use this "{"module":"search\/SearchModule","params":{"site":"{$site}"}}" to use the search module…
Is there also something for the redirect module? Because there is no way to send a variable to the redirect module… however if we could embed it in the listpages… this would open some possibilities.
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
Redirect is impossible. The module is normally rendered on the page and the 301 header will be sent on the page requested. The current setup will only force the AJAX request to do a redirection.
Kenneth Tsang (@jxeeno)