how hide in view block unique id ?

how hide in view block unique id ?

by stephane ngov -
Number of replies: 0

hi all,

don't want juste hide this block  only this user, please in this picture:




how I cant hide this block in all in page for who is user_id = "71234"


in the  theme/clean/columns3.php for load block is

$OUTPUT->blocks('side-pre', 'span4 desktop-first-column')

how i can do for this ligne :


$id_user  = 71234; //the user ($USER->id)

if($id_user == 71234)

{

  unset  $OUTPUT->blocks("import_claroline") //for exemple but i not have a true name methode

}

$OUTPUT->blocks('side-pre', 'span4 desktop-first-column')


the blocks html is create with moodle is not a add script block

the html this block is


<div id="inst104" class="block_html block" data-dockable="1" aria-labelledby="instance-104-header" data-instanceid="104" data-block="html" role="complementary">


thank's for reply and help smile

Average of ratings: -