Jump to content

Search the Community

Showing results for tags 'hookDisplayAdminProductsExtra'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Addons
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 6 results

  1. Hi Dev's, I've got stucked while saving data from product page where i've craeted the field through the module via hookDisplayAdminProductsExtra. And i didn't get an idea to save new field data from the admin product page. So, please help if anyone have solution for this. Thank You.
  2. How to create a new tab Prestashop 1.7 ? Prestashop 1.6 public function hookDisplayAdminProductsExtra() { $this->context->smarty->assign(array( 'id_product' => Tools::getValue('id_product'), 'id_lang' => $this->context->language->id, 'languages' => Language::getLanguages(), 'default_language' => $this->default_language, )); return $this->display(__FILE__, 'views/templates/admin/tab.tpl'); } In the new version also creates a new tab... But how to connect file tab.html.twig ? Transfer variables with the value of ? Thanks.
  3. Hi, i am creating a module on Presta 1.7.2, i would like to add a table of products in the admin product section (with the hook displayAdminProductsExtra). This is a simplified version of my code public function hookDisplayAdminProductsExtra($params) { $products = MyModel::getProducts(); $helper = new HelperList(); $helper->shopLinkType = ''; $helper->simple_header = true; $helper->identifier = 'id'; $helper->show_toolbar = true; $helper->title = 'HelperList'; $helper->table = $this->name . '_mytable'; $helper->token = Tools::getAdminTokenLite('AdminModules'); $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; return $helper->generateList($products, array( 'id' => array( 'title' => 'ID', 'type' => 'text' ), 'name' => array( 'title' => 'Nom', 'type' => 'text' ) )); } It generate the following error : Twig_Error_Runtime in form.html.twig line 951: An exception has been thrown during the rendering of a template ("Unable to load template file 'helpers/list/list_header.tpl'"). The template file exists, i tried to do some debugging in HelperList class, but no luck so far. Anyone can help ?
  4. Bonjour, J'ai entrepris de développer un module nécessitant l'ajout d'une tab dans l'admin d'un produit. Jusque là pas de problème, je me hook sur le hookDisplayAdminProductsExtra. Là où j'ai dû probablement loupé quelque chose, c'est au moment d'ajouter mes nouveaux champs au product_form. Voulant faire les choses proprement, j'ai utilisé le HelperForm, sans me rendre compte tout de suite que toutes les tabs sont englobées dans un seul et même <form> ! Donc je me retrouve avec un <form> dans un <form> : pas bien ! Je n'ai pour le moment pas trouvé de solution à ce problème. Y-a-t-il un moyen pour que le HelperForm::generateForm ne génère que les champs, sans le <form> </form> ? Merci d'avance à toi qui prend le temps de lire ce petit post Bonne journée.
  5. Hi all! I'm working on a module and I use the hookDisplayAdminProductsExtra to show the module's control panel to users. It's ok on the PS versions >= 1.5.4.0. Today I was testing on the 1.5.0.1 version and I found that my custom tab is not showing at all in the list on the left.. I suppose my code is correct (with the newer versions it works).. maybe I need to use some particular way to implement the hookDisplayAdminProductsExtra in this PS version? Thanks
  6. How can I know product ID (or get the product object) in hook DisplayAdminProductsExtra It is not passed in the params variable.
×
×
  • Create New...