Sometime we need to do with custom html / css / js . But
– Joomla! editor will truncate it
– Have limited with HTML / CSS knowledge
Than it’s time to work with BBCode.
We can input BBCode without caring about truncated by Editor.
Than it’ll be convert to styled HTML as well.
I have developed Crex Shortcodes to do this.
In basic word: Crex Shortcodes is BBCode convertor. It’ll convert from BBCode to HTML.
<blockquote>It’s mean by themself Crex Shortcodes do not have any HTML styling code. You can add & design it by yourself with designed functions. It’s extreme easy. Just follow our document than you can make your own thing under 10 minutes.</blockquote>
Concept
– All shortcodes located under /assets/shortcodes/*.json files . Create your own file or use exists one. By designed each file used for each groupping.
– You can design your own bbcode
– You can provide validator for each field ( or we call it’s $attributes )
– You can design your own form field as well
– Shortcodes will be parsed and execute
– Allow we hooking $attributes before passing to layout
– Allow we call depends. For sample Facebook we need include their js SDK before use it
– Layout file can implement very easy
– Do caching if needed
Backend Form generator is not required. But you can use it to generate BBCode with friendly UI. It’s required Crex Shortcodes plugin system to use.
Unlike some Shortcodes plugin have limited with live demo. Crex Shortcodes can display demo for ALL Shortcodes as well.
Without Form generator user still can input their own attributes by manual as well. It’s more powerful and extendable without limited !!!
Allow core override without hacking
You can override any core files without touching it. Just create your own under /local directory or under template/<name>/html/crexshortcodes
For sample. It’s ready with Google Map. You can use it very easy. Or you can embed Youtube / Vimeo as well too.
Let’s try it.
https://github.com/jooservices/CrexShortcodes