/ Published in: PHP

The bID will be NULL, since there wont be any Database entry created
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$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)
Comments
