/**
  * Manage position in ajax
  */
 public function ajaxProcessUpdatePositionsColumn()
 {
     $way = (int) Tools::getValue('way');
     $id_now_block_cms_footer_column = (int) Tools::getValue('id');
     $positions = Tools::getValue('now_block_cms_footer_column');
     foreach ($positions as $position => $value) {
         $pos = explode('_', $value);
         if (isset($pos[2]) && (int) $pos[2] === $id_now_block_cms_footer_column) {
             if ($oNowBlockFooterCmsColumn = new NowBlockFooterCmsColumn((int) $pos[2])) {
                 if (isset($position) && $oNowBlockFooterCmsColumn->updatePosition($way, $position)) {
                     echo 'ok position ' . (int) $position . ' for bloc footer column ' . (int) $pos[1] . '\\r\\n';
                 } else {
                     echo '{"hasError" : true, "errors" : "Can not update bloc footer column ' . (int) $id_now_block_cms_footer_column . ' to position ' . (int) $position . ' "}';
                 }
             } else {
                 echo '{"hasError" : true, "errors" : "This bloc footer column (' . (int) $id_now_block_cms_footer_column . ') can t be loaded"}';
             }
             break;
         }
     }
 }