By Craig MacomberCraig Macomber


This code makes a glossary page and category along with a button to add an entry. If your wiki needs a glossary it will work great. it works my using a new page module to add pages to the glossary category and then lists all pages in the glossary category alphabetically with previews using the pages module.


[[module NewPage category="Glossary" button="Add Page to Glossary"]]
[[module Pages category="Glossary" preview="true"]]

In action

There is an example on

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 Craig Macomber

Rate this solution

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

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