We use shortcodes a lot on many projects. It’s easy to include e.g. galleries inside $Content, i also inject a list of latest events or of related pages (by tag) etc…
With https://github.com/sheadawson/silverstripe-shortcodable there is also a nice UI for inserting shortcodes.
And we also made shortcodes that contain shortcodes (risky, I know, we have to be quite carefully not to make a loop), e.g. a snippet with lastest events by location and some other text.
As long as it doesn’t break existing shortcodes I’m fine with replacing it with a better implementation.
It would be great if not just [shortcode] but <p>[shortcode]</p> could be replaced, cause TinyMCE always wraps my shortcode in <p>s…
Cheers,
Werner
--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-d...@googlegroups.com.
To post to this group, send email to silverst...@googlegroups.com.
Visit this group at https://groups.google.com/group/silverstripe-dev.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-d...@googlegroups.com.
To post to this group, send email to silverst...@googlegroups.com.
Visit this group at https://groups.google.com/group/silverstripe-dev.
For more options, visit https://groups.google.com/d/optout.