Where to store strings in Orchard CMS?

Topics: Customizing Orchard
Apr 25, 2013 at 8:11 PM
So I need a way to store strings for eg. errormessages, labels in orchard. ( I want a way to edit and add certain strings in the CMS. ) In Sitefinity you can store strings in the labels & messages section. In Umbraco you can store strings in the dictionairy. But where do you do this in Orchard?
Coordinator
Apr 25, 2013 at 8:46 PM
I think there is a module for that on the gallery.

Otherwise you can add custom fields to the Settings content type, and then they will be available in the settings. Settings being a singleton per website.
To access them you can then use tokens or from the view you can go with the WorkContext.CurrentSite.As<SettingsPart>()
Coordinator
Apr 25, 2013 at 8:47 PM