/ Published in: PHP
It's not immediately clear from the context_set() function how to trigger a context to be "active" using code. Do it like this:
Expand |
Embed | Plain Text
$context = context_load('context_name'); context_set('context', $context->name, $context);
You need to login to post a comment.
