1
Hi;
I am updating some old sites to 2.5.8 where I used overlib popups linked to dictionary words to precisely define terminology, to avoid confusion. Example:
http://www.nazisociopaths.org/modules/article/view.article.php/c1/34
I would like to use xoops best practice to achieve this. It seems that smarty function "function.popup.php" is the way to go, but I cannot find usage documentation and how to style the popups, for example, to achieve the bubble effect.
The next best choice appears to be to use these popups:
http://www.macridesweb.com/oltest/STARTED.html
Also, currently, the bubble links and contents are created once by an offline php script which takes input html and a dictionary file to automatically create the popup links in output html. I would like to automate the popup link creation using something like this (process before cache):
$xoopsTpl =& $xoTheme->template;
$xoopsTpl->load_filter('outputfilter.insertpopups);
Where insertpopups is a php function.
My questions are this:
1 - Am I on the right track?
2 - Can smarty popups do this - documentation / examples?
2 - If not, is the overlibmws approach I linked the best choice? Alternatives?
My long term goal is to create a module where words and definitions are admined, stored in xoops_db with a global variable controlling which, if any definition DB is used to display popups.
Thanks;
Bill