Closed dahacouk closed 9 years ago
The button is in the views footer I have wrapped it in php to check if the user is authenticated.
<?php
global $user;
if ($user->uid) {
$straddorg = '<div class="pull-right col-sm-6"><a href = "/user/!1/add-org" role="button" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span>Add organisation</a></div>';
print $straddorg;
}
this is now live - close if happy
Thanks!
Don't show add organisation button when not logged in as in https://www.kendra.io/users/dahacouk