在新选项卡中打开批量操作,如果已经选择prestashop,则不要让select字段

我正在研究prsetashop 1.6。</ p>

我有一个 显示数据列表的模块,我正在使用批量操作来选择我想以新jane形式打开的那些行,它已经工作但在同一个窗口中打开,我想在一个新选项卡中。</ p>

另一部分是我想不要出现在我之前选择的行上。</ p>

我会告诉你我的代码。
我真的 需要帮助。</ p>

 (...)
$ helper = new HelperList();
$ helper-&gt; module = $ this;
$ helper-&gt ; shopLinkType ='';
$ helper-&gt; simple_header = false;
$ helper-&gt; identifier ='id_contabilidade_faturacao';
$ helper-&gt; actions = array('edit','envio');

$ helper-&gt; show_toolbar = true;
$ count ='&lt; span class =“badge”&gt;'。count($ content)。'&lt; / span&gt;';
$ helper-&gt; title = $ this-&gt; l('List Invoices Download')。':'。$ count;
$ helper-&gt; table = $ table;
$ helper-&gt; bulk actions = array(
'enviar_email'=&gt; 数组(
'文字'=&gt; $ this-&gt; l('Selecionar para envio email'),
'icon'=&gt;'icon-send',
'确认'=&gt; $ this- &gt; l('Tem a certeza que selecionou corretamente?')

);
$ helper-&gt; {$ helper-&gt; table .'
pagination'} = 50;
$ helper-&gt; token = Tools :: getAdminTokenLite('AdminModules');
$ helper-&gt; currentIndex = AdminController :: $ currentIndex。'&amp; configure ='。$ this-&gt; name;
// var_dump($ this- &gt; displayAddLink($ token = null,$ id,$ name = null),$ this-&gt; displayEnvioLink($ token = null,$ id,$ name = null));退出;
$ this-&gt; _html 。= $​​ helper-&gt; generateList($ content,$ this-&gt; fields_list);
}
</ code> </ pre>
</ div>

展开原文

原文

I'm working on prsetashop 1.6 right now.

I have a module that displays a data listing and I'm using bulk actions to select those rows that I want to open in a new jane form, it's already working but open in the same window and I wanted to in a new tab.

Another part is that I wanted to not show up on the lines that I have previously selected.

I'll show you the code I have. I really need help.

(...)   
    $helper = new HelperList();
    $helper->module = $this;
    $helper->shopLinkType = '';
    $helper->simple_header = false;
    $helper->identifier = 'id_contabilidade_faturacao';
    $helper->actions = array('edit', 'envio');
    $helper->show_toolbar = true;
    $count = '<span class="badge">'.count($content).'</span>';
    $helper->title = $this->l('List Invoices Download').': '.$count;
    $helper->table = $table;
    $helper->bulk_actions = array(
        'enviar_email' => array(
            'text' => $this->l('Selecionar para envio email'),
            'icon' => 'icon-send',
            'confirm' => $this->l('Tem a certeza que selecionou corretamente?')
        )
    );
    $helper->{$helper->table.'_pagination'} = 50;
    $helper->token = Tools::getAdminTokenLite('AdminModules');
    $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name;
     //var_dump($this->displayAddLink($token = null, $id, $name = null), $this->displayEnvioLink($token = null, $id, $name = null));exit;
    $this->_html .= $helper->generateList($content, $this->fields_list);
}

duanhe6718
duanhe6718 您好,您是否了解如何在新标签中打开批量操作?
大约 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐