Jump to content

Koko888

Members
  • Posts

    12
  • Joined

  • Last visited

Koko888's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. any solution? I have the same problem using Prestashop 1.6.0.9. After some seconds I get the blank page, no problem while importing a few products. Also, I noticed that when I delete the images column everything works perfect. Any solution or idea?
  2. Hi, did you find a solution? I want to do the same, I need a custom bulk_action in a helperlist. Any idea or solution?
  3. Hi Enrique, thank you very much, I could solve my issue by using the $helper->identifier as you mentioned it in your last reply. Regards, Jorge
  4. Hello Enrique, thank you for your answer, it was really helpful. I already did what you suggested, but I'm having problems to get the $id, I think it is because I'm filling the list with my own content not from a DB table, any idea of how can i get the id of my table content? Thanks in advance, Jorge
  5. Hello, I have a Helperlist rendered, and for each clickable row I would like to have a redirection to an external page, or do this by clicking on the 'view' action. The next code displays a sample list, how can I go to the external link after clicking to one of the table elements. Thanks in advance public function MyList() { $content = array( array( 'id' => 1, 'SKU' => 153, 'Name' => 'Test1', ), array( 'id' => 2, 'SKU' => 154, 'Name' => 'Test2', ), array( 'id' => 3, 'SKU' => 155, 'Name' => 'Test3', ), ); $fields_list = array( 'id' => array( 'title' => 'ID', 'align' => 'center', 'class' => 'fixed-width-xs', ), 'SKU' => array( 'title' => 'SKU', 'align' => 'center', 'class' => 'fixed-width-md', ), 'Name' => array( 'title' => 'Name', 'align' => 'center', 'class' => 'fixed-width-md', ), ); $helper = new HelperList(); $helper->shopLinkType = ''; $helper->simple_header = false; $helper->actions = array(); $helper->show_toolbar = false; $helper->module = $this; $helper->listTotal = count($content); $helper->identifier = 'List Test'; $helper->title = 'List '; $helper->actions = array('view'); $helper->table = $this->name; $helper->token = Tools::getAdminTokenLite('AdminModules'); $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; return $helper->generateList($content, $fields_list); }
  6. Thank you Krystian, that file is so helpful
  7. Hello, I'm trying to generate a sample form, but I can't get the 'save' button in the toolbar, here the code: public function formCategories() { $fields_form = array( 'form' => array( 'legend' => array( 'title' => $this->l('some title'), ), 'description' => '<ul> <li>'.$this->l('some description.').'</li> </ul>', 'submit' => array( 'title' => $this->l('Save'), ), 'buttons' => array( array( 'href' => 'http://someurl', 'title' => 'Generar', 'icon' => 'some-icon', ) ), ), ); $helper = new HelperForm(); $helper->title = ; $helper->show_toolbar = true; return $helper->generateForm(array($fields_form)); } This code only generates the button in the 'buttons' array but not the 'save' button in 'submit' array. Any idea of what I'm doing wrong? Thanks in advance
  8. Hello, did yoy get a solution for this? I have the same problem and I dont know what to do.
  9. alguien sabe que ocurre, intento cambiar de plantilla en la sección de apariencia, elijo el theme previamente subido por ftp le doy guardar y siempre elije al tema prestashop. Alguien sabe como cambio mi plantilla? Gracias
  10. Hola, Alguien me puede decir donde puedo traducir Contact, sitemap, bookmark? Se los agradezco. Saludos
×
×
  • Create New...