Show address attribute (form) in package
Permalink
Hi,
I need to show the address attribute in a package single page.
The address attribute isn't signed to a page, collection or user. Just want to show the form elements so I don't have to reproduce.
I'v this already but when I try to render I'm getting an blank page, no errors...
I also tried to load the controller and use the display function, but that also gives me the error.
So can annybody help me?
Best,
Corretje
I need to show the address attribute in a package single page.
The address attribute isn't signed to a page, collection or user. Just want to show the form elements so I don't have to reproduce.
I'v this already but when I try to render I'm getting an blank page, no errors...
$at = AttributeType::getByHandle('address'); $at->render('form');
I also tried to load the controller and use the display function, but that also gives me the error.
So can annybody help me?
Best,
Corretje