Robert, Yes, you can do this and you will be using FTL. The ftl template will be stored in ElectronicText table, Set dataTemplateTypeId=FTL for your dataResource. For reference look at data in "specialpurpose/ofbizwebsite/data/OfbizData.xml" file.
Regards Anil Patel On Dec 18, 2012, at 7:48 PM, "Robert G." <[email protected]> wrote: > hey, > > i want to use the cms functionality and am mostly satisfied. I prefer to > manage the content with the backend CMS future without touching the code to > make live easier for my employees (html editor). > > So I am wondering now if there is the possiblity to use variables within the > CMS / content screens of the admin backend. I mean like using a groovy file > and within the html editor I add variables like ${...} > > Or do I have to use only FTL in this case? i.ex. I often have to show the > company adress, and want my employess not to type it each time. I want them > to use just the variable for it. > > Hope you understand what I mean. > > Thanks in advance > > robert > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/CMS-content-variables-get-data-base-content-tp4638364.html > Sent from the OFBiz - User mailing list archive at Nabble.com.
