Return to Snippet

Revision: 62662
at March 5, 2013 18:59 by dosde


Initial Code
$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)

Initial URL


Initial Description
The bID will be NULL, since there wont be any Database entry created

Initial Title
Insert Block with options hardcoded into page

Initial Tags


Initial Language
PHP