Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

"Short Codes" in Silverstripe 2.4


Reply


2 Posts   982 Views

Avatar
edk

Community Member, 39 Posts

12 March 2010 at 4:57pm

Edited: 12/03/2010 4:57pm

I saw a post a few days back make reference to the fact that SS2.4 would have functionality similar to Short Codes in Wordpress. Is there anywhere I can look to get additional information on it? It is a very intriguing concept, and I can think up many uses for it to help abstract "messy" tasks away from the user in the Content WYSWIG Editor.

Thanks -
Chango

Avatar
martimiz

Forum Moderator, 1105 Posts

13 March 2010 at 3:46am

Hi Chango,

In 2.4 there now is a ShortcodeParser (in sapphire/parsers/) and a ShortcodeParserTest (in sapphire/tests/), that might give you some clues? I don't know if there's other documentation available just yet...