Jump to content

bemcapaz

Members
  • Posts

    4
  • Joined

  • Last visited

bemcapaz's Achievements

Newbie

Newbie (1/14)

8

Reputation

  1. Hey ehinarr, may I have a look? If the translation is good you could send it to prestashop to change the official one, there are several mistakes. I find some really wrong msgs, like people forgot to put a 'no' in the translated phrase, turning a denial into a acceptance O_o
  2. Hi, im modifying the currently portuguese-brasilian translation. There were A LOT of typos and problems and missing words on the currently official version. What should I do after i finish working on it? Submit to the prestashop site to someone to eval the fixed version or something? Thanks in advance.
  3. Just found a solution but was in a french post, I speak portuguese so i think i was able to at least get the idea of what was going on. The main problem is that the image files need a different canonical url orelse they wont work, this is my working .htaccess now and everything seems to work fine. # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E] RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E] RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php #Flags php_flag register_globals off php_value display_errors off #habilitando o fopen php_value allow_url_fopen on So if someone look for this for now on i think this post might help.
  4. Hi, I just installed the prestashop cms and im still learning and tunning it but Im currently in some trouble to fix a bug that ocurred after activating the canonical module. I activated the canonical url's module, inserted the below info in the .htaccess . In preferences I also activated the "FRIENDLY URL" option. # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php #Flags php_flag register_globals off php_value display_errors off #habilitando o fopen php_value allow_url_fopen on Still after doing all this the images are simply gone from my site. I think im currently using the 1.2.4 version of prestashop and the adress to the site is http://esmalteson.dominiotemporario.com/ its a temporary domain. I couldnt find any related info to this bug, so im felling that i probly did something wrong, How should I fix this? Anyone also had this problem? Thanks in advance.
×
×
  • Create New...