Jump to content

pzi

Members
  • Posts

    19
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Switzerland
  • Activity
    User/Merchant

Recent Profile Visitors

3,126,139 profile views

pzi's Achievements

Newbie

Newbie (1/14)

9

Reputation

  1. 1. Please remove the sending of password in the default email templates account.(html|txt) for version 1.6 (as it is in 1.7, and as it should be since very very very long time). There is big risk that we forget to remove this in a language after an update of emails. It does not look very serious to send passwords to customers by email... as it just happend... 2. Please do not change the customer's password. Do not accept it and give a message if you really want to. Backslashes are removed silently from password in Tools::getValue(), it is a common character when using password managers.
  2. Since at least 2 weeks, with downloads made from prestashop.com, the file db_structure.sql contains an error that was signaled on github: https://github.com/PrestaShop/PrestaShop/commit/8134781f64053826c8c21402ef7d46bf6ca1bad4 on branch 1.6 and branch master we have this wrong statement generating the error mentionned by the OP (and killing the install process): `id_product_attribute` int(10) unsigned DEFAULT NULL, As this field belong to a primary key, it cannot be NULL. For some possible corrections : on branch develop, we have this correction : `id_product_attribute` int(10) unsigned NOT NULL, on branch 1.6.1.x we have this correction : `id_product_attribute` int(10) unsigned DEFAULT '0', Isn't all this a bit messy ? Good luck !
  3. The solution of clubvapea works and is a good idea to place the language switch there, but be aware that it works only for the body of the pdf documents. The header and the footer of the pdf docs won't be in the expected language, depending on the conditions: For one invoice only: the header stays in the backoffice language. For multiple invoices in the same pdf, the header is in the language of the preceding order, and the footer is in the language of the next order (?!#*ç*%!!!) So you have to adapt header and footer so they do not depend on language. Didn't check the other documents, but I expect there will be same kind of problems.
  4. Un peu tard comme réponse mais ça pourrait servir aux suivants et éviter quelques recherches. La fonction js qui s'occupe de ça se trouve dans le fichier /monmagasin/themes/montheme/js/global.js et c'est la fonction resizeCatimg() qui a mon avis contient une erreur... La suite dépend du but recherché, mais l'une des solutions simples serait par exemple de changer (vers la ligne 50 du tpl original) <div class="cat_desc"> en <div class="cat_desc_flagadatsointsoin"> (ou un autre nom plus évocateur...)
  5. Hi, You can find patch here: https://github.com/PrestaShop/autoupgrade/commit/002a14d15a029d93dc16b9fd93752eb34c4ee4df The file is in your /shop/modules/autoupgrade/classes folder.
  6. Dans le backoffice, Menu Préférence, SEO & Url, editer la description de la page "index". La phrase "Texte intro voir dans la traduction" qui apparait sur toutes les pages dépend je crois du thème, mais devrait pouvoir se changer dans les traductions (Menu Localisation, Traductions, et dans le thème correspondant. Mais le créateur du thème devrait en savoir plus et pour "Ggl Web tools" c'est Google Webmaster Tools. S'inscrire et suivre les instructions.
  7. Ce que je veux dire avec le .com c'est: si je fais la recherche google avec "tonnomdesite" (sans les guillemets bien sur) je n'obtient pas de site links. Mais en cherchant avec "tonnomdesite.com" (sans les guillemets aussi) alors il affiche les site links. Pour ces sites links, la seule chose que tu puisse faire directement, c'est dans les Ggl Web. Tools lui dire ceux que tu ne veux PAS voir apparaitre... c'est l'opposé de ce qu'on souhaite en général...
  8. Salut Je suppose qu'il s'agit des "site link". Si tu ajoutes le .com à ton nom de domaine (et boum...) tu auras les site link... Si je ne me suis pas trompé sur le nom de ton site, travaille le référencement et le reste suivra.
  9. Salut! Pas de panique sur ce nombre de pages bloquées par robots.txt, c'est pour éviter des doublons et c'est tant mieux pour votre référencement. Quand on fait la multiplication suivante : sur les page de listing de produits, triés par nom, par prix, par quantité, par ordre décroissant, par ordre croissant, par nombre d'article par page (10, 20, etc), et qu'on recommence avec chaque catégorie et sous-catégorie, et qu'on y ajoute les tags, et tous les liens pour mettre un articles dans le panier, ça fait vite pas mal de pages, qui sont toutes différentes pour l'ami gogol et les autres, car leur urls sont différentes: elles contiennent toutes une variations des divers paramètres. Mais le contenu n'est pas différent ou à peine.
  10. Hi, The solution of Vekia is a good one, it will make the changes on the order page. But as your background is dark, you have same problem on other pages, where there is text in <p> (paragraphs), for example on the 404 page. So you could try to add in file: themes/yourtheme/css/global.css, around line 99: color: #FFFFFF; so it becomes: p { color: #FFFFFF; padding-bottom: 20px; position: relative; } This will change the color of most texts between <p> and </p> to white. Hope it can help you.
  11. Hi Patrick, I usppose the file for the H4 at the bottom of the page is the file: themes/elation-liquid/modules/blockcontactinfos.tpl in this template you should find somewhere the H4 with the getPageLink function, or at least a way to make this link to contact page. I had a quick look noe and it seems you found where to remove it, I looked at it first on friday evening, it was still there. Did you try for the override? pzi
  12. Hi, The function Link::getPageLink makes the links, so you could make an override of the link class, where you make a new getPageLink function, which will have something like this code inside: $controller = Tools::strReplaceFirst('.php', '', $controller); if ($controller == 'contact') return 'mailto:[email protected]'; else return parent::getPageLink(add all parameters); Hope this helps
  13. Hi, Nice idea, that I didn't have but that I will copy and use on my site. In order to make appear the product image you can use something like: <img src="{$link->getImageLink('productimage', $product.image->id_image, 'home_default')}" /> The ID of the image is stored in an Image object inside the $product variable. You are right, the 'link_rewrite' info is not available here, but there just needs to have something in it: it could be anything else than 'productimage'. Any one an idea to get the link rewrite info? And if you want to change size of image try small_default or medium_default instead of home_default. I added this code in order-detail.tpl file, just before the name of the product (for classic products) I tried this on my 1.5.4.1, and it works nicely.
  14. Hi Ruben, That's exactly as you said. I supposed that it was this generation of the category tree that takes so long. The nested set is faster for reading, but slower for updating. But unfortunately, it comes out to be wrong. For the moment, I have no other idea to try for this.
×
×
  • Create New...