Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Customising the CMS
SilverStripe Forums » Customising the CMS » print permission on a TableList Field
|
Page:
1
|
Go to End | |
| Author | Topic: print permission on a TableList Field | 232 Views |
-
print permission on a TableList Field

23 December 2008 at 11:13am
Hi,
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() {
Requirements::clear();
Requirements::css('cms/css/typography.css');
Requirements::css('cms/css/cms_right.css');
Requirements::css('sapphire/css/TableListField_print.css');
$vd = new ViewableData();
return $vd->customise(array(
'Content' => $this->customise(array(
'Print' => true
))->renderWith($this->template)
))->renderWith('TableListField_printable');
}
| 232 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: joelg, Euphemismus
Welcome to our latest member: fearofbuttons
