Search and tags in the same page!

By Luiz de CamposLuiz de Campos

Description

It uses the two resources in the same page.

Code for search page (search:site)

[[div style="float:right; width: 50%;"]]
[[module TagCloud limit="200" target="system:page-tags"]]
[[/div]]
[[module Search]]
------

Code for tags page (system:page-tags)

[[div style="float:right; width: 50%;"]]
[[module TagCloud limit="200" target="system:page-tags"]]
[[/div]]
[[module Search]]
------
[[module PagesByTag]]

In action

http://rcsp.wikidot.com/search:site

and

http://rcsp.wikidot.com/system:page-tags


Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by Luiz de Campos


Rate this solution

If you think this solution is useful — rate it up!

rating: +4+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License