Izzyurrita 0 Posted February 2, 2014 Hi there ! Would anyone have a solution to my Spanish/English problem? Please, see post #491 Cheers, Izz Share this post Link to post Share on other sites
BIG PRINT 8 Posted February 2, 2014 Great !! thanks It works !!! I have another bug the "slide" doesn't work well you see it here " Uncaught ReferenceError: ddaccordion is not defined faq:293 (anonymous function) Share this post Link to post Share on other sites
BIG PRINT 8 Posted February 2, 2014 Great !! thanks It works !!! I have another bug the "slide" doesn't work well you see it here " Uncaught ReferenceError: ddaccordion is not defined faq:293 (anonymous function) Ok, my fault !!! It wasn't hook in the header. Thanks, works perfectly !!! Any chance to have a TinyMCE version ? Share this post Link to post Share on other sites
BIG PRINT 8 Posted February 2, 2014 a last think. It is not possible to edit a question. The Title is coming, but not the text. you have to make another entry and delete the old one. Share this post Link to post Share on other sites
okom3pom 682 Posted February 2, 2014 TinyMCE work's for me and this fix the bug to edit Check path in the function private function _displayForm() in faq.php ----------------------------------------------------------------------------------------- TinyMCE fonctionne chez moi et ceci corrige le bug de l'édition d'une question Verifie le chemin dans la fonction _displayForm() dans le fichier faq.php Je ferais une mise à jour du module quand j'aurais le temps pour ajouter automatiquement le controller Share this post Link to post Share on other sites
BIG PRINT 8 Posted February 2, 2014 Ok I found !! I just delete : '.__PS_BASE_URI__.' in line 237 so now I have : /* TinyMCE Script */ $this->_html .= ' <!-- TinyMCE --> <script type="text/javascript" src="/js/tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "advanced", plugins : "safari,pagebreak,style,layer,table,advimage,advlink,inlinepopups,media,searchreplace,contextmenu,paste,directionality,fullscreen", // Theme options theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,,|,forecolor,backcolor", theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,media,|,ltr,rtl,|,fullscreen", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,pagebreak", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : false, content_css : "'.__PS_BASE_URI__.'themes/'._THEME_NAME_.'/css/global.css", document_base_url : "'.__PS_BASE_URI__.'", width: "600", height: "auto", font_size_style_values : "8pt, 10pt, 12pt, 14pt, 18pt, 24pt, 36pt", // Drop lists for link/image/media/template dialogs template_external_list_url : "lists/template_list.js", external_link_list_url : "lists/link_list.js", external_image_list_url : "lists/image_list.js", media_external_list_url : "lists/media_list.js", elements : "nourlconvert", entity_encoding: "raw", convert_urls : false, language : "'.(file_exists(__PS_BASE_URI__.'modules/pss_timemsgpro/js/tinymce/jscripts/tiny_mce/langs/'.$iso.'.js') ? $iso : 'en').'" }); </script> <!-- /TinyMCE -->'; Thanks a lot Merci bcp !!!! Share this post Link to post Share on other sites
Eolia 3,108 Posted February 3, 2014 (edited) Voici ma dernière version débuggée, multiboutique compatible 1.5 jusqu'à 1.5.6.2 Possibilité d'avoir des questions/réponses différentes suivant vos boutiques. L'utilisation d'urls style friendly_url est grandement simplifiée (n’apparaît que si votre boutique utilise ce mode). Si vos boutiques ne sont pas toutes en mode rewrite le module le gère également. Dernière version du 02/02/2014: 1.5.2 Amusez-vous bien Here is my latest version, debugged, multi-shops compatible from 1.5 until 1.5.6.2 Occasionally, you can have different questions/answers depending on your shops. Using urls friendly_url style is greatly simplified (only appears if your shop uses this mode). If your stores are not all in rewrite mode, module also manages it. Latest version of 02/02/2014: 1.5.2 Enjoy Edited February 3, 2014 by Eolia (see edit history) Share this post Link to post Share on other sites
Eolia 3,108 Posted February 3, 2014 (edited) Vu qu'on me pose la question, je vous poste l'info: Comment intégrer la FAQ dans le Menu Haut Horizontal ? Commencez par télécharger ma dernière version (1.5.2) mise à jour il y a 1 heure avec gestion de l'url_rewrite. INFO: Si vous êtes en multi-boutiques la manip suivante doit être faite pour chaque boutique. 1°) Dans le module "menu haut horizontal" créez un lien , FAQ par exemple, 2°) - Si vous êtes en multi-langues sans url_rewrite entrez l'url de la page comme ceci: index.php?controller=default&fc=module&module=faq&id_lang=4 (ici 4 pour le français) et faites-le pour toutes les langues. - Si vous êtes en multi-langues avec url_rewrite entrez l'url de la page: Foire-aux-questions ( "Foire-aux-questions" est mon url_réécrite) Edited February 3, 2014 by Eolia (see edit history) Share this post Link to post Share on other sites
spacestar 0 Posted February 3, 2014 Thanks, nice module Share this post Link to post Share on other sites
Eolia 3,108 Posted February 5, 2014 The latest version (1.5.6) with css integration here: http://www.prestashop.com/forums/topic/306420-faq-module-for-prestashop-15-versions/?p=1550494 Share this post Link to post Share on other sites
sekar33 1 Posted September 12, 2014 Bonjour, j'ai essayé votre module il fonctionne bien, mais impossible de réarranger les pages et les modifier sur le backoffice. Je l'ai désinstallé, réinstallé, vidé tous les caches et fichiers de compilation, mais rien n'y fait. j'utilise la dernière version du module 1.6.5 et j'ai un prestashop 1.5.4.0 la case verte s'affiche un peu n'importe ou et sans texte quand j'appuie sur un des icônes. Auriez-vous une solution? Share this post Link to post Share on other sites
Eolia 3,108 Posted September 12, 2014 Ca sent l'erreur javascript/ajax... Avez-vous essayé avec un autre navigateur ? Avez-vous des erreurs dans la console du navigateur (F 12) ? Share this post Link to post Share on other sites
sekar33 1 Posted September 12, 2014 Merci beaucoup, pour votre réponse rapide, donc j'ai essayé sur Firefox et Chrome et c'est pareil. la console javascript me dit : Uncaught SyntaxError: Unexpected token ILLEGAL index.php:4193 Uncaught ReferenceError: currentUrl is not defined faq.js:20Uncaught ReferenceError: moduleDir is not defined faq.js:90 Share this post Link to post Share on other sites
Eolia 3,108 Posted September 12, 2014 Curieux, vous êtes en local ? Si oui, supprimez le répertoire "faq" et réinstallez l'archive depuis le BO Share this post Link to post Share on other sites
sekar33 1 Posted September 12, 2014 (edited) Ok autant pour moi en fait c'est la mise à jour automatique qui n'as pas marché. J'ai supprimé tous les fichiers et j'ai réinstallé le module. Le module marche désormais parfaitement... Merci pour votre module il est vraiment cool! Edited September 12, 2014 by sekar33 (see edit history) Share this post Link to post Share on other sites
sekar33 1 Posted September 12, 2014 Non en fait sa bug, au moindre copier/coller dans l'éditeur de texte, sa rebloque tout. Si je crée juste des questions Test 1, test2 avec deux trois mots dans l'éditeur, tout marche bien... toujours pareil : ReferenceError: faqs is not defined faq.js:7ReferenceError: moduleDir is not defined faq.js:90 si je réinstalle le module sa marche au début. Share this post Link to post Share on other sites
Eolia 3,108 Posted September 12, 2014 Non en fait sa bug, au moindre copier/coller dans l'éditeur de texte, sa rebloque tout. Si je crée juste des questions Test 1, test2 avec deux trois mots dans l'éditeur, tout marche bien... toujours pareil : ReferenceError: faqs is not defined faq.js:7 ReferenceError: moduleDir is not defined faq.js:90 si je réinstalle le module sa marche au début. Je n'arrive pas à reproduire votre bug, sous quel navigateur êtes-vous ? Share this post Link to post Share on other sites
turbowebs 1 Posted November 23, 2014 Sorry for my English I have Faq module for Prestashop 1.5.3 with tinyMCE. tested and working recien lo bajé al módulo pero cuando le doy a instalar solo- lo sube pero nada mas no aparece en la lista de modulos (prestashop 1.6) Share this post Link to post Share on other sites
Eolia 3,108 Posted November 23, 2014 recien lo bajé al módulo pero cuando le doy a instalar solo- lo sube pero nada mas no aparece en la lista de modulos (prestashop 1.6) Go in Catalog -> FAQ Share this post Link to post Share on other sites
myselfidem 66 Posted November 26, 2014 Merci beaucoup Eolia pour ce superbe module. Résultat sur le site après quelques modifications du fichier apple.css : http://www.librairie-eauvive.ch/index.php?fc=module&module=faq&controller=default Amicalement Share this post Link to post Share on other sites
Eolia 3,108 Posted November 26, 2014 Merci beaucoup Eolia pour ce superbe module. Résultat sur le site après quelques modifications du fichier apple.css : http://www.librairie-eauvive.ch/index.php?fc=module&module=faq&controller=default Amicalement Merci http://www.librairie-eauvive.ch/forum-aux-questions c'est plus joli comme url Share this post Link to post Share on other sites
myselfidem 66 Posted November 26, 2014 (edited) Oui, c'est vrai ! Mais j'ai installé une option dans le Pied de page : Forum aux questions Je n'ai pas trouvé le moyen d'afficher directement la page sans devoir ajouter un bouton qui envoie vers la page. Je cherche comment résoudre ce petit problème. Amicalement Edited December 13, 2014 by myselfidem (see edit history) Share this post Link to post Share on other sites
Eolia 3,108 Posted November 26, 2014 Parce que vous n'êtes pas dans le bon forum, la réponse est là: http://www.prestashop.com/forums/topic/306420-faq-module-for-prestashop-15-16-versions-updated/page-3?do=findComment&comment=1605001 Share this post Link to post Share on other sites
myselfidem 66 Posted November 27, 2014 (edited) Merci Eolia, J'ai modifié le fichier comme indiqué (avec quelques modifications) dans le lien donné : \themes\mon_theme\modules\blockcms\blockcms.tpl Depuis la ligne 68 avec PS 1.6.0.6 <!-- MODULE Block footer --> <section class="footer-block col-xs-12 col-sm-2" id="block_various_links_footer"> <h4>{l s='Information' mod='blockcms'}</h4> <ul class="toggle-footer"> {if Module::isEnabled('faq')} <li class="item"> <a href="{$link->getModuleLink('faq')|escape:'html':'UTF-8'}" title="{l s='Frequently ask questions' mod='blockcms'}"> {l s='FAQ' mod='blockcms'} </a> </li> {/if} Fonctionne très bien maintenant : http://www.librairie-eauvive.ch/FAQ Encore merci. Amicalement *Edit : Il manque simplement une icône dans le dossier de faq.zip afin que celle-ci soit dans le Back-Office, dans : positions des modules Edited December 13, 2014 by myselfidem (see edit history) Share this post Link to post Share on other sites
myselfidem 66 Posted December 13, 2014 Bonjour Eolia, Merci beaucoup pour la nouvelle version faq 1.9 Amicalement Share this post Link to post Share on other sites
Soyons Solidaire 249 Posted December 15, 2014 Bonjour à tous myselfidem s'il te plait ou est la nouvelle version ? Bonne journée Amitiés Share this post Link to post Share on other sites
Eolia 3,108 Posted December 15, 2014 Soit sur le bon post : http://www.prestashop.com/forums/topic/306420-faq-module-for-prestashop-15-16-versions-updated/ Soit dans votre bo si votre connexion à mon serveur le permet Share this post Link to post Share on other sites
myselfidem 66 Posted December 15, 2014 Bonjour à tous myselfidem s'il te plait ou est la nouvelle version ? Bonne journée Amitiés Merci à Eolia pour ce superbe module, @G.Solidarité, Si vous ne voulez pas perdre toutes les questions et réponses précédemment intégrées : 1 - Ne pas désinstaller la version actuelle installée 2 - Se rendre sur le serveur FTP 2 - Renommer le module : faq-old (.\modules\faq) 3 - Aller dans le Back-Office 4 - Installer la nouvelle version téléchargée sur le lien donné par Eolia 5 - Retour au serveur FTP et supprimer l'ancienne version : faq-old C'est ainsi que j'ai gardé toutes les questions et réponses ! Amicalement Share this post Link to post Share on other sites
Soyons Solidaire 249 Posted December 15, 2014 (edited) Bonjour mes amis Merci Eolia pour ce module et à myselfidem pour ces explications. Amitiés Edited December 15, 2014 by G.Solidarité (see edit history) Share this post Link to post Share on other sites
Reseaux 1 Posted July 8, 2015 Bonjour, J'ai installé le module et j'aimerais savoir s'il était possible de créer plusieurs groupe de catégories ?Ex: filtrer par produits et filtrer par sphère daction, etc. Share this post Link to post Share on other sites
Eolia 3,108 Posted July 8, 2015 Bonjour, J'ai installé le module et j'aimerais savoir s'il était possible de créer plusieurs groupe de catégories ? Ex: filtrer par produits et filtrer par sphère daction, etc. Bien sur, ce sont ce que j'appelle les 'En-têtes de rubrique" Share this post Link to post Share on other sites
Reseaux 1 Posted July 9, 2015 (edited) Bien sur, ce sont ce que j'appelle les 'En-têtes de rubrique" Où puis-je insérer ces en-têtes de rubriques ? Je vois que le module ne propose que d’insérer des simple catégories... Edited December 1, 2015 by Oser Reso (see edit history) Share this post Link to post Share on other sites
Eolia 3,108 Posted July 9, 2015 Ah, ben ce n'est pas mon module celui-là Share this post Link to post Share on other sites
Reseaux 1 Posted July 9, 2015 Vous utilisez quel module ? Share this post Link to post Share on other sites
Eolia 3,108 Posted July 9, 2015 Le mien http://www.prestashop.com/forums/topic/306420-faq-module-for-prestashop-15-16-versions-updated/ Share this post Link to post Share on other sites
Cyrius91 5 Posted October 3, 2015 Merci pour le partage de ce module que je viens de découvrir. Share this post Link to post Share on other sites
webezvous 0 Posted November 26, 2015 (edited) Bonjour, J'utilise ce module depuis quelques temps, qui marche très bien, mise à part pour l'édition des questions qui me renvoie l'erreur javascript: Uncaught ReferenceError: faqs is not defined Et effectivement quand je me réfère à la fonction qui appelle faqs, je ne vois pas d'où vient cet array ??? /* Modified by Eolia 17.02.2014 */ function faqEdition(faqId) { getE('id').value = faqId; var cend = parseInt(getE('languageNb').value - 1); for (var i=0; i<=cend; i++) { getE('questionInput_' + faqs[faqId][i * 3]).value = faqs[faqId][i * 3 + 1]; tinyMCE.get('answerInput_' + faqs[faqId][i * 3]).setContent(faqs[faqId][i * 3 + 2]); } if (getE('tiny').style.display == "block"){ getE('submitFaqUpdate').disabled = ''; getE('submitFaqAdd').disabled = true; getE('submitFaqAdd').style.setProperty('display','none'); getE('submitFaqUpdate').style.setProperty('display','block'); } } Aussi je suis dans l'impossibilité d'éditer les questions de la FAQ. Comment puis-je résoudre ce problème ????? Edited November 26, 2015 by webezvous (see edit history) Share this post Link to post Share on other sites
Eolia 3,108 Posted November 26, 2015 faqs comprend l'ensemble des questions et cette variable est globale au fichier <script type="text/javascript"> var currentUrl = \''.AdminController::$currentIndex.'&configure='.$this->name.'\'; var token=\''.$_REQUEST['token'].'\'; var faqs = new Array(); var moduleDir = \''._MODULE_DIR_.'\'; var idshop = \''.$this->context->shop->id.'\'; '; $item = ''; foreach ($faqs AS $faq) { $item .= 'faqs['.$faq['id'].'] = new Array('; $i = 0; foreach ($languages AS $language) { if ($i > 0) $item .= ","; $item .= $language['id_lang']; $question = isset($faq['question_'.$language['id_lang']]) ? $faq['question_'.$language['id_lang']] : ''; $item .= ',\''.addslashes($question).'\''; $answer = isset($faq['answer_'.$language['id_lang']]) ? $faq['answer_'.$language['id_lang']] : ''; $item .= ',\''.addslashes(str_replace(array("\r\n", "\r", "\n"), "", $answer)).'\''; $i++; } $item .= ');'; } $item .= '</script>'; Vous n'auriez pas activé "déplacer les javascript à la fin" dans la config du shop ? Share this post Link to post Share on other sites
webezvous 0 Posted November 26, 2015 Effectivement il ya un problème d'ordre des javascripts, faq.js est appelé avant le code javascript inséré dans le HTML. Mais "déplacer les javascript à la fin" dans la config du shop n'est valable que pour le front office, en back je ne sais pas comment je peux forcer l'appelle des fichiers javascripts en fin de page ? Share this post Link to post Share on other sites
Eolia 3,108 Posted November 26, 2015 Mais de quoi parle-t-on ? faq.js est appelé en début de page mais pas la fonction faqEdition(). Celle-ci est appelée lors du clic sur l'icone d'édition. la variable faqs est définie au chargement de la page. Donc dans l'ordre: faq.js est chargé la variable est définie Lors du clic, la fonction est appelée et récupère les données de l'index correspondant dans la variable faqs Je ne peux difficilement vous en dire plus. Share this post Link to post Share on other sites
webezvous 0 Posted November 26, 2015 Oui l'erreur n'a rien a voir avec l'ordre des javascript, je suis dans l'erreur. Désolé.Par contre je comprend toujours pourquoi j'ai l'erreur Uncaught ReferenceError: faqs is not defined quand je clique sur le bouton éditer des questions. Share this post Link to post Share on other sites
Eolia 3,108 Posted November 26, 2015 Éventuellement avec un accès bo/je pourrais vous en dire plus Share this post Link to post Share on other sites
Good Boy 1 Posted December 9, 2015 I am using Presta version 1.6.1.3 and getting this error when I click insert button in configuration page. An error occurred during question creation What do I do? Do I need to create or alter any table? I am a new website developer and don't know much about it. Please suggest the steps to fix this issue. Thank You Share this post Link to post Share on other sites
flyclothing 31 Posted December 19, 2015 Thank you for the great module. I attempted to upgrade per the module and received the following error: [PrestaShop] Fatal error in module file :/public_html/modules/faq/faq.php:Call to undefined method Faq::restoreDb() Share this post Link to post Share on other sites
Eolia 3,108 Posted December 19, 2015 Thank you for the great module. I attempted to upgrade per the module and received the following error: [PrestaShop] Fatal error in module file :/public_html/modules/faq/faq.php: Call to undefined method Faq::restoreDb() What is your currently version ? Share this post Link to post Share on other sites
flyclothing 31 Posted December 19, 2015 (edited) Content Management F.A.Q. v2.1 - by Eolia Add this module to have a faq in your site Actually, I feel like I had a earlier version like 1.0. Not sure if it upgraded when I clicked your link because I got that error above. Thank you. Edited December 19, 2015 by flyclothing (see edit history) Share this post Link to post Share on other sites
Eolia 3,108 Posted December 19, 2015 Send me an access to your BO by MP please^^ Share this post Link to post Share on other sites
flyclothing 31 Posted December 20, 2015 I'd be happy to send access but the only thing you'll see from the backend is the version listed and the sql error upon clicking configure. Let me know if you still require it. Content Management F.A.Q. v2.1 - by Eolia Add this module to have a faq in your site ERROR [PrestaShop] Fatal error in module file :/home/flycloth/public_html/modules/faq/faq.php:Call to undefined method Faq::restoreDb() Share this post Link to post Share on other sites
Eolia 3,108 Posted December 20, 2015 The module is no longer free. I am willing to help you out this time. If I do not have access, it will be difficult Share this post Link to post Share on other sites
flyclothing 31 Posted December 20, 2015 You got it. Sending access. Share this post Link to post Share on other sites
imgs 7 Posted December 26, 2015 Thanks for the module. Good job. Share this post Link to post Share on other sites
bmlindow 0 Posted January 29, 2016 The module is no longer free. I am willing to help you out this time. If I do not have access, it will be difficult The module is no longer free. I am willing to help you out this time. If I do not have access, it will be difficult Hello I have the same problem. What do I do? Prestashop v 1.6.0.14 Share this post Link to post Share on other sites
Eolia 3,108 Posted January 29, 2016 Hello I have the same problem. What do I do? Prestashop v 1.6.0.14 Comment the line (//) where Faq::restoreDb(); is called, in faq.php Share this post Link to post Share on other sites
bmlindow 0 Posted January 29, 2016 Comment the line (//) where Faq::restoreDb(); is called, in faq.php I do not understand Share this post Link to post Share on other sites
ingrossoerisparmio 2 Posted February 8, 2016 What is your currently version ? Hi, where I can find the latest version of the faq module? I have version 1.4.3. And....i have DEFAULT BOOTSTRAP THEME (prestashop 1.6.0.5) ....ho i can properly display the section faq? it appears badly and do not open the questions. Thanks. Share this post Link to post Share on other sites
Eolia 3,108 Posted February 11, 2016 Hi, where I can find the latest version of the faq module? I have version 1.4.3. And....i have DEFAULT BOOTSTRAP THEME (prestashop 1.6.0.5) ....ho i can properly display the section faq? it appears badly and do not open the questions. Thanks. The last version (2.1) is here: http://eoliashop.com/Modules_Prestashop/Prestashop15-16/module-faq Share this post Link to post Share on other sites
ingrossoerisparmio 2 Posted February 11, 2016 The last version (2.1) is here: http://eoliashop.com/Modules_Prestashop/Prestashop15-16/module-faq But not is free? Share this post Link to post Share on other sites
Eolia 3,108 Posted February 12, 2016 No, because after the theft of my code and misunderstanding of PrestaShop, my modules are no longer free. 2 Share this post Link to post Share on other sites
riras 9 Posted February 17, 2016 I am using Presta version 1.6.1.3 and getting this error when I click insert button in configuration page. An error occurred during question creation What do I do? Do I need to create or alter any table? I am a new website developer and don't know much about it. Please suggest the steps to fix this issue. Thank You I got the same error and no answer. Since module is no long Free i think this topic should be close or at least a big warning at the first post. No more suport to early prestashop versions. Share this post Link to post Share on other sites
shacker 1,050 Posted February 25, 2016 No, because after the theft of my code and misunderstanding of PrestaShop, my modules are no longer free. what happend? Share this post Link to post Share on other sites
amerobb 0 Posted July 21, 2016 Hello everyone,Urgent please !!!!I worked with prestashop 1.6.1.4 and I need this module faq, because I'm in trouble thank you to you, please can y help me !!!!! Share this post Link to post Share on other sites
Eolia 3,108 Posted July 21, 2016 Hello everyone, Urgent please !!!! I worked with prestashop 1.6.1.4 and I need this module faq, because I'm in trouble thank you to you, please can y help me !!!!! Look here: http://eoliashop.com/modules-prestashop/front-office/module-faq Share this post Link to post Share on other sites
amerobb 0 Posted July 21, 2016 Yes thanks Eolia,but I want a free module !!!! Share this post Link to post Share on other sites
amerobb 0 Posted July 22, 2016 Hello, thanks for the module, but install PrestaShop 1.6 but its not working there is another solution please !!!!!! Share this post Link to post Share on other sites
nthoeng 0 Posted September 6, 2016 Hello, Im using PS 1.6.0.1.4, i have installed this free faq module v1.0, but how to use it?when i try to add questions and answer, there is error notification on top with red square. can anyone help me? sorry for my english... hipodipo Share this post Link to post Share on other sites
Eolia 3,108 Posted September 6, 2016 This free version is not for 1.6 version and no supported. th updated version is here : http://eoliashop.com...fice/module-faq Share this post Link to post Share on other sites
l2phmode 0 Posted February 9, 2017 There is a need to write questions and answers for each product. The solution is very simple. In admin panel go to the products -> customization. Adding 2 Text Fields. First question. The second answer Fill them. Then, edit the current template file Product.tpl Find {if isset($product) && $product->customizable} ..... {/if} and paste this code {if isset($product) && $product->customizable} <div class="answer_question"> <div class="w"> <h2>Answer and Question</h2> <div class="list"> <div class="li"> <!--Customization --> <section class="page-product-box"> <!-- Customizable products --> {if $product->text_fields|intval} <div> <ul id="text_fields"> {counter start=0 assign='customizationField'} {foreach from=$customizationFields item='field' name='customizationFields'} {if $field.type == 1} <li class="customizationUploadLine{if $field.required} required{/if}" style="{if ($smarty.foreach.customizationFields.iteration)%2 == 0}margin-bottom:30px;{else}margin-top:30px;{/if}"> <p>{if ($smarty.foreach.customizationFields.iteration)%2 == 0}Ansfer{else}Question{/if}</p> <p> {assign var='key' value='textFields_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} {if !empty($field.name)} {$field.name} {/if} </p> </li> {counter} {/if} {/foreach} </ul> </div> {/if} </section> <!--end Customization --> </div> </div> </div> </div> {/if} You can modify this to a conclusion. Add CSS. As a result, I went like this. Share this post Link to post Share on other sites
shacker 1,050 Posted February 11, 2017 cool solution Share this post Link to post Share on other sites
Loe- 4 Posted March 12, 2017 Hello, I find useful to a lot of shops to have a FAQ, and I didn't find it anywhere. I made one module with a friend to use as a F.A.Q. (Frequently Asked Question), with a Javascript based acordion.To use it, just place the files in the respective folders (respective to the root of your shop), and then install it, then go to /faq.php and that's it. Prestashop team, who made all of this real and free, if you want to use this for the following versions, that would be our pleasure. And last but not least, if anyone wants to contribute to this, or to future development of any module, leave your sugestion. To download the latest version please go to our SVN project in source forge. http://sourceforge.n...ts/modprestafaq A big thank to Joël Gaujard, who as improved a lot this module. Cheers! Added by mdekker - DO NOT REMOVE This module has one issue: - Not compatible with PrestaShop 1.6 This warning can be removed as soon as the issue has been resolved Werkt prima op PS 1.6.8. Works fine on PS 1.6.1.8 Share this post Link to post Share on other sites
Loe- 4 Posted March 12, 2017 Hi, I would like to know how i can add questions specific to a header section. Now i can make header sections, but i cant assign the normal Q and A to that specific section, it just appears as a new line. thank you! Share this post Link to post Share on other sites
The Anh 0 Posted July 21, 2017 (edited) Hello all, I insert new question but notifice "An error occurred during question creation" . Why ?? Thank you. P/s: Sorry, i am from VietNam so English not good. Edited July 21, 2017 by The Anh (see edit history) Share this post Link to post Share on other sites
Eolia 3,108 Posted July 21, 2017 This free version is not for 1.6 version and no supported. th updated version is here : http://eoliashop.com...fice/module-faq Share this post Link to post Share on other sites