According to Regex Pal, the Regex you put (in the source code) for matching against does not match
[Shortcodes:Today()]
It matches
[Shortcodes:Today(anyting)]
though.
What I want to do is to be able to call Dictionary Items from within the RTE (and also Templates), can Shortcodes do that? and if no, do you know any other method?
Thanks for verifying the RegEx - much appreciated. (I'm no expert with RegEx)
For dictionary items, it doesn't do them out-the-box. You could write a RestExtension to handle it... or if you are comfortable with the source-code, please feel free to extend it. (I'll happily accept any patches).
If you were to go down the route of native support, the shortcode would need a prefix. Maybe an exclaimation/bang?
Shortcodes on Umbraco v6
Hi John,
Did you try the shortcode with brackets?
Thanks, Lee.
Yes Sir,
I tried it, it is not working
According to Regex Pal, the Regex you put (in the source code) for matching against does not match
It matches
though.
What I want to do is to be able to call Dictionary Items from within the RTE (and also Templates), can Shortcodes do that? and if no, do you know any other method?
Thanks.
Thanks for verifying the RegEx - much appreciated. (I'm no expert with RegEx)
For dictionary items, it doesn't do them out-the-box. You could write a RestExtension to handle it... or if you are comfortable with the source-code, please feel free to extend it. (I'll happily accept any patches).
If you were to go down the route of native support, the shortcode would need a prefix. Maybe an exclaimation/bang?
Cheers, Lee.
Hello,
After I checked the code and installed/un-installed the package many times after modifiying the source code
I know now why the Shortcodes are not shown, the reason is that restExtension.isAllowed is false
Can you help me with extended info about this property? What does it do? Who control it?
and how can I make it true
Thanks, John.
Not sure about the `isAllowed` property. Does the Rest extension work ok via /Base?
is working on a reply...