Jump to content

Raghubendra

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Location
    India
  • Activity
    Developer

Raghubendra's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi Everybody, I want to enable the product review feature in my PrestaShop 1.7 installation but not able to do that as the module (i.e. Product Comments) responsible for this feature is not there in PrestaShop 1.7 Has it being built into PrestaShop? Or there is some additional setting for it? Please help.
  2. Hi, Check this module, it is very popular and has more than 500 downloads with 80 Five Stars Rating. I am also using it and it works great. http://addons.prestashop.com/en/checkout-modules/18016-one-page-chectkout-with-social-login-mailchimp.html
  3. While validating my new module on Prestashop Validator, I am getting the following error in my main controller file (php file). End of line character is invalid; expected "\n" but found "\r\n" I have researched so much about it on the Internet but unable to find a solution for it. I am struck. What should I do?
  4. I have an issue with the front controller of my module in Prestashop v1.5 My module has a front controller that renders a separate tpl file. When I change language of my store from the front controller (i.e. my module page at front end), then page reloads but the module is not translated to the new language. And when I do the same on home page or any other page and then move to my module page, the module is translated properly as expected. This issue is coming on Prestashop v1.5 only, it is working fine on v1.6 Even if I print the context variable for language the language is updated there as well, but my module page is not translated.
  5. Thanks for the replies. I have uploaded the module after mentioning the reasons in comments. Lets see what they do.
  6. 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_escape_string()' does not exists' The above errors are coming in various files withing the dompdf library and I do not find a way to fix them. Please help.
  7. I am not talking about the int or float variables. I am talking about a variable that may contain some html content in it and if I use escape:'htmlall', then all the html is striped from the variable and I do not want that.
  8. 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 escape the vaiables, but what if I don't want to use any escape modifiers as the smarty variable may contain some html content and I don't want to escape the html in the variable. I was using unescape or escape:'':'UTF-8' before but now they have also removed it. So, what should I use now. Please help.
  9. Thanks for your reply. But I still don't get it, can you please explain in details how it is going to be done. Let me explain what I want to achieve :- I have set a cookie in my module for some specific purpose and I want that when the customer logs out then the cookie should be unset. Is is possible to achieve the above case anyhow? Please reply soon. Thanks in advance.
  10. I am new to prestashop and I am developing a module. In the module I want to run some code whenever a user logs out. Is there any way to achieve the same. Thanks in advance.
×
×
  • Create New...