The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Glossary plugin? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7) +--- Thread: Glossary plugin? (/showthread.php?tid=6640) |
Glossary plugin? - atstarr - 2014-08-12 I apologize if this should go in plugins not feature requests -- but anyone working on a glossary plugin? I could certainly just do a page with a long glossary but would be nice to have a plugin to manage this. I.e. have a word or phrase, with the possibility of multiple definitions, and perhaps images of links to examples. Thanks RE: Glossary plugin? - Tyblitz - 2015-04-30 (2014-08-12, 02:48:24)atstarr Wrote: I apologize if this should go in plugins not feature requests -- but anyone working on a glossary plugin? I could certainly just do a page with a long glossary but would be nice to have a plugin to manage this. I.e. have a word or phrase, with the possibility of multiple definitions, and perhaps images of links to examples. Yes this should be in the Plugins/ General Questions subforum, as the scope is probably too broad to include in the core. Although not its primary purpose; you could do this with GS Custom Settings, eg create a tab named 'glossary', and create a setting for each word, set the description to the word description, and the lookup 'word_x' where x is a number. You can reorder them alphabetically in the UI in Edit mode. If you're going to frequently update the list, you need to first return the settings in a for loop, and sort them with PHP sort() to avoid having to reset the numbers. In your PHP template you could do something like: PHP Code: <?php $amount_of_words = 8; This script outputs an HTML definition list with subtitles for each letter (glossary data from http://pc.net/glossary/): RE: Glossary plugin? - shawn_a - 2015-04-30 Sooo fu@$#%ing pimp! well done |