Jump to:

5554 Posts in 1742 Topics by 1227 members

Customising the CMS

SilverStripe Forums » Customising the CMS » print permission on a TableList Field

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

Page: 1
Go to End
Author Topic: 1065 Views
  • iculshaw
    Community Member
    13 Posts

    print permission on a TableList Field Link to this post


    I'm trying to get the print function working on my TableListField however I don't really understand how it works as it uses ViewableData which i haven't encountered before.

    The printable template then includes the TableListField template to display the data but I can't see where it passes any of the actual data to the template the section of code i'm looking at is below.

       function printall() {
          $vd = new ViewableData();
          return $vd->customise(array(
             'Content' => $this->customise(array(
                'Print' => true

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.