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

Using the output of compareVersions in a template


Reply

277 Views

Avatar
muskie9

28 June 2012 at 7:41am Community Member, 10 Posts

Hi there,

I'm trying to show essentially what you see in the cms when you compare two versions of a page, but in a front end template. I've gone through the function and for the cms it loads the data into a form, getting the fields from getCMSFields. I can return the raw data, but was wondering if there is a trick to get the <ins>, <del> and tags like that to not show up with the text but rather as part of the templates html?