4
I decided to take another, more general (xoops independent) approach. Files are at:
http://www.nazisociopaths.org/KeyWords.tar.gzAssuming you have set up your templates for Overlib:
Create a definitions file of format:
definition;popup text;
Modify paths and value of definitions file in:
DisableKeyWords.sh, EnableKeyWords.sh
EnableKeywords will:
- create Keywords.js (include in XOOPS theme template before header)
- traverse the directories specified, parsing *.htm, replace all keywords in definitions file, creating equivalent *.htp files with overlib popup code. *.htm file are NOT modified. Your pages must reference the parsed *.htp files.
DisableKeyWords.sh just copies original *.htm as *.htp, thereby disabling keywords.
Enjoy. This is unsupported and I will not be answering questions.