2sic / 2sxc

DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
http://2sxc.org
MIT License
145 stars 40 forks source link

Feat: TemplateService to replace tokens in a string #3373

Closed iJungleboy closed 5 months ago

iJungleboy commented 5 months ago

I'm submitting a

[x] feature request

...about

[x] Razor templating

Current Behavior / Expected Behavior

There are various cases where a string should be able to contain placeholders, which would then be replaced by things such as the date-time or values from an entity.

Internally 2sxc has this functionality, but it's not available on the public API, so we want to make this possible.

Steps ca.

Your environment