Jump to:

3447 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » PHP Tidy before sending the Output

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1328 Views
  • stefant42
    Community Member
    14 Posts

    PHP Tidy before sending the Output Link to this post


    one short question. How can i parse/render/cleanup the complete output before Silverstripe sends to Client/Browser?

    For Example, i want to cleanup the generated HTML with PHP Tidy.

    Regards from Germany,


  • Hamish
    Community Member
    712 Posts

    Re: PHP Tidy before sending the Output Link to this post

    I guess you have to modify ssviewer.. but why do you need tidy? 95% of your html lives in static template files - it will be very inefficient to parse and tidy the same responses when you could just fix your templates.

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.