Drupal Association members fund grants that make connections all over the world.
The default entity template shows an error:
Notice: Undefined variable: url in include() (line 35 of /....../modules/entity/entity.tpl.php).
My code that calls
entity_view is the following:
$block['content'] = entity_view('organization', $employers, 'user_employer', NULL, FALSE);
The issue is that
entity.tpl.php always expects the 'url' variable, but depending on if
$page is set in the original entity_view call,
template_preprocess_entity may not 'set' that variable up. There are a few places that this could be fixed, but I think it makes the most sense to just check for it in the tpl file.
There are a couple other issues raised in other modules that I believe are this exact issue: