Dynamically create blocks
Permalink
Is there some way in the code to create a block and add it to an area dynamically? We're trying to display a different guestbook based on the user id url parameter. The area is being generated like this:
But is there a similar way to create and attach a block to this area just after it's generated?
$areaName = 'Guestbook-'.$profile->uID; $a = new Area($areaName); $a->display($c);
But is there a similar way to create and attach a block to this area just after it's generated?
Worst community ever...