manuel1972 Posted June 29, 2010 Share Posted June 29, 2010 Hi all,When activating the module for customers to get informed when a product is in stock again, a message appears:{l s=‘Request notification registered’ mod=‘mailalerts’}instead of the text, like "notification registered"I am using the dutch language pack, so I guess the problem should be somewhere in the translation files.At first the notifiation was not saved and no email was sent to the customer when the product was available again. I then changed the following in the product.tpl url: '{$base_dir}modules/mailalerts/mailalerts-ajax_add.php', changed by: url: '{/literal}{$base_dir}{literal}modules/mailalerts/mailalerts-ajax_add.php', After this modification the module worked but leaving me the - {l s=‘Request notification registered’ mod=‘mailalerts’} - message.Any help would be highly appreciated. Link to comment Share on other sites More sharing options...
cheatoss Posted June 29, 2010 Share Posted June 29, 2010 change $('#oosHook').html("{l s='Request notification registered' mod='mailalerts'}"); to $('#oosHook').html("{/literal}{l s='Request notification registered' mod='mailalerts'}{literal}"); Link to comment Share on other sites More sharing options...
manuel1972 Posted June 29, 2010 Author Share Posted June 29, 2010 Hi Cheatoss,Thanks, this works great!Problem solved. Link to comment Share on other sites More sharing options...
stephforum Posted June 29, 2010 Share Posted June 29, 2010 Bonjour,J'ai le meme probleme, j'ai modifié comme indiqué ci-dessus, cela fonctionne en local sans réécriture d'URL sous easyphp mais pas en ligne.cela ne fonctionne toujours pas en ligne avec réécriture d'URL .Une solution ?Merci d'avance .StephHello I have same problem, I modified as indicated above, it works locally without rewriting URLs in easyphp but not online. it still does not live with URL rewriting. Solution? Thank you in advance. Steph Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now