Jump to content

k9_einzwei

Members
  • Posts

    15
  • Joined

  • Last visited

k9_einzwei's Achievements

Newbie

Newbie (1/14)

4

Reputation

  1. You can follow my guide for enable friendly url on litespeed server : https://www.prestashop.com/forums/topic/625698-guide-friendly-urls-on-litespeed-server/
  2. Simply delete this code from your default .htaccess # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> </IfModule> so your new .htaccess for Litespeed Server will be like this : # 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] RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2.jpg [L] RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$1$2.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L] RewriteRule ^c/([a-zA-Z-]+)/[a-zA-Z0-9-]+\.jpg$ /img/c/$1.jpg [L] RewriteRule ^c/([0-9]+)/[a-zA-Z0-9-]+\.jpg$ /img/c/$1.jpg [L] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L] RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L] RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L] RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /category.php?id_category=$1 [QSA,L] RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$1 [QSA,L] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /supplier.php?id_supplier=$1 [QSA,L] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /manufacturer.php?id_manufacturer=$1 [QSA,L] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L] RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L] RewriteRule ^page-not-found$ /404.php [QSA,L] RewriteRule ^address$ /address.php [QSA,L] RewriteRule ^addresses$ /addresses.php [QSA,L] RewriteRule ^authentication$ /authentication.php [QSA,L] RewriteRule ^best-sales$ /best-sales.php [QSA,L] RewriteRule ^cart$ /cart.php [QSA,L] RewriteRule ^contact-us$ /contact-form.php [QSA,L] RewriteRule ^discount$ /discount.php [QSA,L] RewriteRule ^guest-tracking$ /guest-tracking.php [QSA,L] RewriteRule ^order-history$ /history.php [QSA,L] RewriteRule ^identity$ /identity.php [QSA,L] RewriteRule ^manufacturers$ /manufacturer.php [QSA,L] RewriteRule ^my-account$ /my-account.php [QSA,L] RewriteRule ^new-products$ /new-products.php [QSA,L] RewriteRule ^order$ /order.php [QSA,L] RewriteRule ^order-follow$ /order-follow.php [QSA,L] RewriteRule ^quick-order$ /order-opc.php [QSA,L] RewriteRule ^order-slip$ /order-slip.php [QSA,L] RewriteRule ^password-recovery$ /password.php [QSA,L] RewriteRule ^prices-drop$ /prices-drop.php [QSA,L] RewriteRule ^search$ /search.php [QSA,L] RewriteRule ^sitemap$ /sitemap.php [QSA,L] RewriteRule ^stores$ /stores.php [QSA,L] RewriteRule ^supplier$ /supplier.php [QSA,L] # Catch 404 errors ErrorDocument 404 /404.php DONT FORGET TO ENABLE FORCE COMPILE AND DISABLE CACHE TO TAKE EFFECT :-)
  3. Hi Vexia, thanks for your reply but this is not for Prestashop but for mobile theme called iprestashop btw i found the easiest method to translate .php language using Microsoft Excel, here it is : TO SPLIT 1. Select all text in your PHP file, copy & paste them into MS Excel (starting from the Column A, Row 1). 2. Select all cells in the Column A, click the Data menu, click Text to Column, select the Delimited check box, and then click Next. 3. In the Delimiters group box, click to clear Tab, Semicolon, Comma, and Space check boxes, select Other check box, type ( ' ) without parentheses in the accompanying text box, and then click Finish. 4. You should now have five columns: A, B, C, D, E. The text in the Column D is what you need to translate. 5. Select all cells in the Column D, copy & paste into : http://translate.google.com for translating. TO COMBINE 1. Select all translated text, copy & paste into all cells in the Column D. 2. Insert a new column between A and B, between C and D, between E and F, between G and H. 3. Enter ( ' ) without parentheses into all cells in four new columns B, D, F, H, which you got after insertions. 4. Select all text, copy & paste into Notepad++ 5. Save as to *.php source : http://www.translatorscafe.com/cafe/article113.htm
  4. hi guys, i want to translate .php file from greek to indonesian can somebody here teach me how to translate .php file instead of manually translate them one by one i am wondering if any software or online translator can automatic translate .php file thank in advance el.php
  5. @PascalVG : thanks for the clue , but in prestashop 1.2.5 the file should be edited is Discount.php under classes folder and discount.tpl in /themes/< theme folder> topic SOLVED
  6. @vekia : yes, I can change it manually, but I want to change the default option based to amount not to % So every time I made voucher is always based amount not choose manually from drop down option Anyone can direct me which code should i edited to change the position
  7. hi all, i wanna to change default voucher type on my prestashop 1.2.5 from : Discount on order (%) to Discount on order (amount) which code should i edit / modify bellow i attach my screenshot thank in advance rudy
  8. update versi 0.5 FINAL RILIS, ini adalah versi terakhir dari pengembangan v.1.4.9.0 mod-id jika ada yang tertarik untuk mengembangkan lebih lanjut monggo karena ini adalah project opensource siapapun boleh memodifikasi dan menyebarkan lagi untuk dipakai bersama-sama oleh komunitas prestashop di indonesia salam prestashop
  9. update...update....update rilis versi 0.4 sudah tersedia untuk diunduh
  10. Tapi masih ada bug nya bro, waktu mau daftar akun baru kolom isian untuk lastname nya ikut hilang, sudah saya cari kesalahan nya tapi nggak nemu. Mungkin para master disini bisa ikut bantu dimana letak bug nya. Btw file yg saya edit ada di localhost/prestashop/install/xml/createdb.php
  11. perubahan pada versi 0.5 : - perbaikan bug dari versi 0.4 yaitu harga ongkos kirim yang selalu muncul free - default currency sekarang menggunakan rupiah - menggunakan bahasa indonesia sebagai bahasa defaultnya unduh versi 0.5 : http://code.google.com/p/prestashop-mod-id/downloads/list
  12. thanks a million, I appreciate it. ... Worked like a charm mate
  13. BUMP this thread i already have home featured module which can sorting price, date, and random. But sorting by quantity product is the best choice for merchant like us, so all product can be sold faster and make customer more satisfied with our website anyone developer here can help modifying my module please
  14. hi guys i wanna ask the developer here is that possible to show the biggest quantity first on home featured so only the biggest quantity is in the top and the smallest quantity is in the bottom of home featured thank in advance p.s. : btw...version prestashop i am using is 1.3.7.0 homefeatured.zip
×
×
  • Create New...