1
Hi Xoopsers,
I've been wracking my brain trying to figure out where and how I could create a feature that would allow me to drop a little custom tag into the body of the text of a News or WFSection article. The tag would convert when loaded to display whatever the content of the tag is set as (in this case, javascript for a floating ad banner, but it could be a recurring pullout-headline or something of the kind).
My thinking was that I would define the code to be contained in the tag as a function somewhere, then insert is thusly:
In, for example, an article in News:
Text text text [myTag] text text text
and XOOPS would automagically convert [myTag] into a nifty pullout box or what-have-you.
I imagine this could be defined in the same spot as the [ URL ] and other formatting codes, but I can't find them and am unsure whether it would work in that manner.
Any assistance would be greatly appreciated.
Béla