Jump to:

21301 Posts in 5735 Topics by 2603 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 132 Views
  • muskie9
    Avatar
    Community Member
    5 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?

    132 Views
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.