|
Schulpastoral und Internet
Themen Specials
Suche auf www.schulpastoral.de
Bibliothek auf www.rpi-virtuell.de
|
Home
>>
RSS Center
>>
Shortcodes are coming to XOOPS 2.6.0 :D
RSS Center
XOOPS.org
(07.12.2025 03:20)
Shortcodes are coming to XOOPS 2.6.0 :D
(01.11.2015 11:50)
Richard continues to doing amazing changes to XOOPS 2.6.0. The latest addition are "Shortcodes", which are probably best known from WordPress. I was actually
hoping for it for a long, long time, and I was very happy to see that Richard has added it to XOOPS! YES!!!
It was possible thanks to refactoring of our old TextSanitizer. You can read more details from Richard's info on GitHub Quote: MyTextSanitizer has become Xoops\Core\Text\Sanitizer. What does it mean for XOOPS developers? We'll be able now to simplify a lot of activities around designing the best looking Websites for our users and customers! Also our users will be able to add tons of cool features without any programming! For those of you who never worked with ShortCodes, let's provide a short overview and a little tutorial. The basic classes that we'll be using, are the TextSanitizer classes refactored by Richard: Currently we have following classes derived from FilterAbstract : - Censor - Clickable - Quote - SyntaxHighlight - TextFilter - Xss and following classes derived from ExtensionAbstract : - Flash - Iframe - Image - Mms - Mp3 - Rtsp - SoundCloud - UnorderedList - Wiki - Wmp - XoopsCode - YouTube For our purposes we'll be using mainly the ExtensionAbstract class. Let's see now how can we use it to create ShortCodes for Google Charts and Google Maps ( Read more-- > ) execution time : 0.039 sec
|