Thread subject: muscapaul's PHP-Fusion website :: Terms Infusion v1.xx

Posted by muscapaul on 07-12-2007 13:11
#81

Sounds interesting but TinyMCE is something I have done anything with, let alone that I know what makes it tick or how to make it tick.
I have another infusion that I work with, that uses tiny image icons and on mouseover it will show an image. The image caption needs to be read from the database and I think I have almost got it that far that I got it working. The problem lies in the fact that there may be multiple items listed in a string and that makes a simple query useless. The text needs to be parsed to find all instances and the html code must then include all parsed items. So, for a Glossary, when you have three 'Glossarized' items in a string, the term has to be link three times, for the pop-up you need three different descriptions and, if provided, three different images.
With the work I did on the other infusion, I think I can build most of it (given time, and that is preciously little) but there arises a problem when terms are listed in two different categories. I have solved that issue for clickable links, so it will lead you to a page where you can select the applicable term (not yet in the download package, though). However, I am not quite certain how to solve that problem for popups. If administrators are conscientious and creative, they can at all times prevent duplicate terms, but not all admins will be like that.