Search the Community
Showing results for tags 'validator'.
-
I've built a module which I want to validate againt validator. Among all the errors and recomendations the validator said that __DIR__ is forbidden. The line was like this: require __DIR__.'/../../lib/ProtectedResource.php'; How can I use that library without using __DIR__? Why is i...
-
Hi, Trying to setup a very simple addon. Only the bare minimum that I will try to pass the validator. The only problem seems to be the ClassName. I have a addon, let's say is it called "company_blabla". The validator expects class CompanyBlabla extends Module But that won'...
-
Hello guys, recently i've wrote an article about 10+ common mistakes related to creating a PrestaShop module, you can read this article on PrestaShop Build blog here: http://build.prestashop.com/howtos/module/Common-mistakes-while-coding-module/ I'm open for a suggestions and discus...
- 10 replies
-
- 4
-
-
- validator
- prestashop module
- (and 6 more)
-
Buenas, hemos desarrollado un pequeño módulo para verificar los números DNI/CIF/NIE/NIF que estén en el formato correcto y sean números válidos registrados. No permite continuar el registro si la validación no se realiza correctamente. Hemos visto que no hay ningún módulo que realiza esta...
- 2 replies
-
- validator
- datos facturas
-
(and 24 more)
Tagged with:
- validator
- datos facturas
- facturas
- dni
- nie
- cif
- nif
- documento de identificacion
- numero de identificacion fiscal
- numero
- validacion
- validar cif
- validar nie
- registro clientes
- factura con dni
- registro dni
- comprobar dni real
- comprobar nif
- registro nif
- validar registro
- validar datos cliente
- validacion cliente
- identification validation
- invoices
- identification number
- siret
-
Hello guys, I have this problem with my validator that it won't recognise my postal code. It shows red cross. I have set the backend setting to 'NNNN' for 4 x numbers. So it should work. As far as I know it's a common problem - but the solutions out there don't work for me. Pleas...
-
Ciao a tutti, sistemando la parte seo del mio sito stavo ottimizzando gli errori che restituisce il validator W3C ma mi sono subito fermato al primo errore di CSS. In poche parole mi restituisce l'errore Error: CSS: text-shadow: Too many values or values are...
-
Bonjour, J'essaie de valider un module dans PrestaShop Validator, mais il me reste une erreur. Je veux utiliser un "categories tree" donc j'ai fait quelque chose comme ça en php : pour >= 1.6.0 : $helper = new HelperTreeCategories('categories-treeview'); $category_tree = $helper->render();...
-
hello I am developing prestashop module in which I am facing so many problem with prestashop validator all the time. this time in my module there is requirement of calling hook payment in my template file so I have call rightly and works fine as well. but while validating prestashop validator gives...
- 25 replies
-
- prestashop
- validator
-
(and 2 more)
Tagged with:
-
Is there any expert or say at least a good developer in prestashop..? I have develop many modules and face same problem with each and every time. I have upload one module on 23-06-2015 with validation done successfully. and on 26-06-2015 got reply of security issue and I have try to validate sa...
- 9 replies
-
- prestashop
- validator
-
(and 1 more)
Tagged with:
-
Hello, We are developing a module with the purpose of selling it in the prestashop store (http://addons.prestashop.com/). When passing the validator (https://validator.prestashop.com/), we managed to have all ok except this problem: The use of function hash_hmac() is forbidden Some p...
- 2 replies
-
- module developement
- module
-
(and 2 more)
Tagged with:
-
I bought the add on 'International Address Validator' fourteen days ago but my developer couldn't install it. Since then I've raised the issue with Presta shop add ons (twelve days ago) and chased this up on three separate occasions but I have still not received any reply to my query. I'm new to Pre...
-
[SOLVED] Prestashop Validator Issue for Library files.
Raghubendra posted a topic in Core developers
I have developed a new module for prestashop and it is using dompdf library for generating pdf. When I validate the module then I get some compatibility issues that are pointing to some errors that say: 'Class 'PDFLib' does not exists' 'Function 'pg_query()' does not exists' 'Function 'pg_... -
I have developed a module for Prestashop and when I validate it on the validator, I get security issues saying that - Invalid escape modifiers count, could be escaped like: "{$data|escape:'htmlall':'UTF-8'}" When I use a integer, float or string variable, then I use html or htmlall to escap...
-
Hi everyone, I have a simple question : Why the document http://doc.prestashop.com/display/PS15/Coding+Standards says "Method and function names always use CamelCase: begin with a lowercase character and each following words must begin with an uppercase character" and the document http://doc.prest...
-
- Auto-updating
- module
-
(and 2 more)
Tagged with:
-
Analytics website reccommendet me to check http://validator.w3.org/ and I have got 4 small errors in the html. I guess it's a default as I didn't mess there. Should I delete these? (in which file?) Or it doesn't really matter?
-
Hello Dear All Prestashop Experts I want to ask you all that before upload module in http://addons.prestashop.com/en/. I must have to validate my module in https://validator.prestashop.com but when I am validating my module prestashop validator gives me some prestashop parent class or controller...
- 8 replies
-
- 1
-
-
- prestashop
- validator
-
(and 4 more)
Tagged with:
-
Que pensez-vous du validator Prestashop ?
Ornicar posted a topic in PrestaShop pour les développeurs
Bonjour à tous et à toutes, J'ouvre ce topic car je trouve intéressant d'avoir l'avis de la communauté sur le fameux validateur de module Prestashop. Je ne sais pas ce que vous en pensez, mais pour moi ce validateur me fait doucement rire ... Certes il détecte bien tout un tas d'erreurs... -
Hello, I try to valide a module in PrestaShop Validator, but I have an error. I want to use a categories tree so I use something like this in php: for >= 1.6.0: $helper = new HelperTreeCategories('categories-treeview'); $category_tree = $helper->render(); for < 1.6.0: $helper = new He...
- 10 replies
-
- category
- categories
-
(and 3 more)
Tagged with:
-
Hello! how to fix validation errors? "/index.php You must use "/**" style comments for a file comment"
-
How can i apply target="_blank" in .tpl My code is here: <a href="http://www.test.com" target="_blank">USA/INTERNATIONAL</a> But http://validator.w3.org given Error: Line 223, Column 61: there is no attribute "target" How can i solved help me. Thank you
-
prestashop 1.6 module how to add header other than Location
webdhm posted a topic in Core developers
Hi, I'm trying to validate a module and I'm getting the following error: The use of function header() is forbidden; use Tools::redirect() instead but the headers I want to use are: Header('Status: 301 Moved Permanently', false, 301); Header('content-type:.application/xml'); what are the...