Jump to:

23472 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Using the output of compareVersions in a template

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

Page: 1
Go to End
Author Topic: 270 Views
  • muskie9
    Community Member
    10 Posts

    Using the output of compareVersions in a template Link to this post

    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?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.