Link To Go To Controller


Im trying to create a link to go to controller end get information to display in a html block.

when I click the link I got a 200 ok and it will go to controller and get the info but the html wont update.

here is the code:

  • {$li}
  • 22222222222
  • 33333333333
  • and controller:
    $a = 1111;
    if($_REQUEST['test'] == 1){
    $a = 'aaaaaaaaaaaa';
    Registry::get('view')->assign('li', $a);
    Registry::get('ajax')->assign('li', $a);
    what is missing here ?

    Please check here