/ Published in: PHP
The bID will be NULL, since there wont be any Database entry created
- $sp = BlockType::getByHandle('BLOCKHANDLE');
- $sp->controller->variablename = '15'; //set variables from database, or create own ones that are normally not set, to check that this block was called programmatically
- $sp->render('view'); // templates/... (to use templates)
You need to login to post a comment.