Dhafiq Sagara adalah orang bodoh yang tidak bisa apa-apa, tapi dia selalu berusaha untuk terus menjadi yang lebih baik. Rasa keingin-tahuannya sangat tinggi, selalu berusaha dan terus berusaha, trial dan error adalah prinsip belajarnya.

Tampilkan postingan dengan label Prestashop. Tampilkan semua postingan
Tampilkan postingan dengan label Prestashop. Tampilkan semua postingan

6 Mei 2011

How to Remove CMS ID from URL of PrestaShop version 1.2.5

After implementing the similar modification about how to remove the category and product id from URL of PrestaShop in my last two articles before this current one, now let’s try to remove also the CMS ID from URL of your PrestaShop. For instance, by default PrestaShop uses the URL for displaying CMS page like: /content/1-delivery instead of /content/delivery. I have successfully implemented the modification into PrestaShop version 1.2.5. It is recommended that you have also implemented the two similar modification about how to remove category id and how to remove product id from the URL of your PrestaShop.

  1. Make sure that you have already had the .htaccess file in your PrestaShop’s root directory, which has the content like the following:
    # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
    # http://www.prestashop.com - http://www.prestashop.com/forums
     
    # 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$ /prestashop1250/img/p/$1-$2$3.jpg [L,E]
    RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /prestashop1250/img/c/$1$2.jpg [L,E]
    RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$3&isolang=$1$5 [L,E]
    RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$2&isolang=$1$4 [L,E]
    RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/category.php?id_category=$2&isolang=$1 [QSA,L,E]
    RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$2$4 [L,E]
    RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$1$3 [L,E]
    RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/category.php?id_category=$1 [QSA,L,E]
    RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/cms.php?id_cms=$1 [QSA,L,E]
    RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /prestashop1250/supplier.php?id_supplier=$1$3 [QSA,L,E]
    RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /prestashop1250/manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
    RewriteRule ^lang-([a-z]{2})/(.*)$ /prestashop1250/$2?isolang=$1 [QSA,L,E]
     
    # Catch 404 errors
    ErrorDocument 404 /prestashop1250/404.php
     
    # Remove Category ID from URL. You have to modify also the /classes/Link.php file! Modified by Masino Sinaga, May 3, 2010
    RewriteRule ^accessories-ipod$ /prestashop1250/category.php?id_category=3 [QSA,L,E]
    RewriteRule ^music-ipods$ /prestashop1250/category.php?id_category=2 [QSA,L,E]
    RewriteRule ^laptops$ /prestashop1250/category.php?id_category=1 [QSA,L,E]
     
    # Remove Product ID from URL. You have to modify also the /classes/Link.php file! Modified by Masino Sinaga, May 4, 2010
    RewriteRule ^music-ipods/ipod-nano\.html(.*)$ product.php?id_product=1$1 [QSA,L,E]
    RewriteRule ^music-ipods/ipod-shuffle\.html(.*)$ product.php?id_product=2$1 [QSA,L,E]
    RewriteRule ^laptops/macbook-air\.html(.*)$ product.php?id_product=5$1 [QSA,L,E]
    RewriteRule ^laptops/macbook\.html(.*)$ product.php?id_product=6$1 [QSA,L,E]
    RewriteRule ^music-ipods/ipod-touch\.html(.*)$ product.php?id_product=7$1 [QSA,L,E]
    RewriteRule ^accessories-ipod/housse-portefeuille-en-cuir-belkin-pour-ipod-nano-noir-chocolat\.html(.*)$ product.php?id_product=8$1 [QSA,L,E]
    RewriteRule ^accessories-ipod/ecouteurs-a-isolation-sonore-shure-se210-blanc\.html(.*)$ product.php?id_product=9$1 [QSA,L,E]
    Actually, those content of .htaccess we get from the previous two modification from the two links above. You can generate this .htaccess file from admin panel at Tools tab, then choose Generators sub-tab, and follow the instructions carefully there. In this example above, I use prestashop1250 for the domain name. Please adjust it with yours.
  2. Add this following code after the last line of that code above:
    # Remove CMS ID from URL. You have to modify also the /classes/Link.php file! Modified by Masino Sinaga, May 5, 2010
    RewriteRule ^content/delivery$ cms.php?id_cms=1$1 [QSA,L,E]
    RewriteRule ^content/legal-notice$ cms.php?id_cms=2$1 [QSA,L,E]
    RewriteRule ^content/terms-and-conditions-of-use$ cms.php?id_cms=3$1 [QSA,L,E]
    RewriteRule ^content/about-us$ cms.php?id_cms=4$1 [QSA,L,E]
    RewriteRule ^content/secure-payment$ cms.php?id_cms=5$1 [QSA,L,E]
    It meant that we will adjust the URL for 5 CMS pages: delivery, legal-notice, terms-and-conditions-of-use, about-us, and secure-payment. In other words, if you have more than 5 CMS pages, you have to define or add again your own CMS one by one into the .htaccess file.
  3. Open your /classes/Link.php file, and find this code:
    public function getCMSLink($cms, $alias = null)
    {
    if (is_object($cms))
    return ($this->allow == 1) ? (_PS_BASE_URL_.__PS_BASE_URI__.'content/'.intval($cms->id).'-'.$cms->link_rewrite) : 
    (_PS_BASE_URL_.__PS_BASE_URI__.'cms.php?id_cms='.intval($cms->id));
    if ($alias)
    return ($this->allow == 1) ? (_PS_BASE_URL_.__PS_BASE_URI__.'content/'.intval($cms).'-'.$alias) :
    (_PS_BASE_URL_.__PS_BASE_URI__.'cms.php?id_cms='.intval($cms));
    return _PS_BASE_URL_.__PS_BASE_URI__.'cms.php?id_cms='.intval($cms);
    }
    
    then replace with this following code:
    public function getCMSLink($cms, $alias = null)
    {
    if (is_object($cms))
    return ($this->allow == 1) ? (_PS_BASE_URL_.__PS_BASE_URI__.'content/'/*.intval($cms->id).'-'*/.$cms->link_rewrite) : 
    (_PS_BASE_URL_.__PS_BASE_URI__.'cms.php?id_cms='.intval($cms->id));
    if ($alias)
    return ($this->allow == 1) ? (_PS_BASE_URL_.__PS_BASE_URI__.'content/'/*.intval($cms).'-'*/.$alias) :
    (_PS_BASE_URL_.__PS_BASE_URI__.'cms.php?id_cms='.intval($cms));
    return _PS_BASE_URL_.__PS_BASE_URI__.'cms.php?id_cms='.intval($cms);
    }
    

Now you should have the URL without CMS ID in it.


How to Remove Product ID from URL of PrestaShop version 1.2.5

Have you ever wanted to remove the product id from the URL of your PrestaShop? For instance, by default, PrestaShop uses this URL to display the certain product named ipod-touch: /7-ipod-touch.html instead of /ipod-touch.html. Well, here is the solution how you can make it comes true. I have successfully implemented it into PrestaShop version 1.2.5. Please note that before you implement this modification, make sure you have already implemented the similar modification that will remove category id from the URL.

  1. Make sure that you have already had the .htaccess file in your PrestaShop’s root directory, which has the content like the following:
    # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
    # http://www.prestashop.com - http://www.prestashop.com/forums
     
    # 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$ /prestashop1250/img/p/$1-$2$3.jpg [L,E]
    RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /prestashop1250/img/c/$1$2.jpg [L,E]
    RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$3&isolang=$1$5 [L,E]
    RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$2&isolang=$1$4 [L,E]
    RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/category.php?id_category=$2&isolang=$1 [QSA,L,E]
    RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$2$4 [L,E]
    RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$1$3 [L,E]
    RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/category.php?id_category=$1 [QSA,L,E]
    RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/cms.php?id_cms=$1 [QSA,L,E]
    RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /prestashop1250/supplier.php?id_supplier=$1$3 [QSA,L,E]
    RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /prestashop1250/manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
    RewriteRule ^lang-([a-z]{2})/(.*)$ /prestashop1250/$2?isolang=$1 [QSA,L,E]
     
    # Catch 404 errors
    ErrorDocument 404 /prestashop1250/404.php
     
    # Remove Category ID from URL. You have to modify also the /classes/Link.php file! Modified by Masino Sinaga, May 3, 2010
    RewriteRule ^accessories-ipod$ /prestashop1250/category.php?id_category=3 [QSA,L,E]
    RewriteRule ^music-ipods$ /prestashop1250/category.php?id_category=2 [QSA,L,E]
    RewriteRule ^laptops$ /prestashop1250/category.php?id_category=1 [QSA,L,E]
    That .htaccess file is generated from the link I mentioned above about. You can generate this .htaccess file from admin panel at Tools tab, then choose Generators sub-tab, and follow the instructions carefully there. In this example above, I use prestashop1250 for the domain name. Please adjust it with yours.
  2. Add this following code after the last line of that code above:
    # Remove Product ID from URL. You have to modify also the /classes/Link.php file! Modified by Masino Sinaga, May 4, 2010
    RewriteRule ^music-ipods/ipod-nano\.html(.*)$ product.php?id_product=1$1 [QSA,L,E]
    RewriteRule ^music-ipods/ipod-shuffle\.html(.*)$ product.php?id_product=2$1 [QSA,L,E]
    RewriteRule ^laptops/macbook-air\.html(.*)$ product.php?id_product=5$1 [QSA,L,E]
    RewriteRule ^laptops/macbook\.html(.*)$ product.php?id_product=6$1 [QSA,L,E]
    RewriteRule ^music-ipods/ipod-touch\.html(.*)$ product.php?id_product=7$1 [QSA,L,E]
    RewriteRule ^accessories-ipod/housse-portefeuille-en-cuir-belkin-pour-ipod-nano-noir-chocolat\.html(.*)$ product.php?id_product=8$1 [QSA,L,E]
    RewriteRule ^accessories-ipod/ecouteurs-a-isolation-sonore-shure-se210-blanc\.html(.*)$ product.php?id_product=9$1 [QSA,L,E]
    It meant that we will adjust the 7 products name: ipod-nano, ipod-shuffle, macbook-air, macbook, ipod-touch, housse-portefeuille-en-cuir-belkin-pour-ipod-nano-noir-chocolat, and ecouteurs-a-isolation-sonore-shure-se210-blanc. In other words, if you have more than 7 products above, you have to define or add your own product one by one into the .htaccess file.
  3. Open your /classes/Link.php file, find this code:
    public function getProductLink($id_product, $alias = NULL, $category = NULL, $ean13 = NULL)
    {
    if (!isset($this->allow)) $this->allow = 0;
    if (is_object($id_product))
    return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.(($id_product->category != 'home' AND !empty($id_product->category)) ? $id_product->category .'/' : '').intval($id_product->id).'-'.$id_product->link_rewrite.($id_product->ean13 ? '-'.$id_product->ean13 : '').'.html') : 
    (_PS_BASE_URL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product->id));
    elseif ($alias)
    return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.(($category AND $category != 'home') ? ($category.'/') : '').intval($id_product).'-'.$alias.($ean13 ? '-'.$ean13 : '').'.html') : 
    (_PS_BASE_URL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product));
    else
    return _PS_BASE_URL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product);
    }
    
    then replace with this following code:
    public function getProductLink($id_product, $alias = NULL, $category = NULL, $ean13 = NULL)
    {
    if (!isset($this->allow)) $this->allow = 0;
    if (is_object($id_product))
    return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.(($id_product->category != 'home' AND !empty($id_product->category)) ? $id_product->category .'/' : '')./*intval($id_product->id).'-'.*/$id_product->link_rewrite.($id_product->ean13 ? '-'.$id_product->ean13 : '').'.html') : 
    (_PS_BASE_URL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product->id));
    elseif ($alias)
    return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.(($category AND $category != 'home') ? ($category.'/') : '')./*intval($id_product).'-'.*/$alias.($ean13 ? '-'.$ean13 : '').'.html') : 
    (_PS_BASE_URL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product));
    else
    return _PS_BASE_URL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product);
    }
    

Now you should have the URL without the category and product id in it.

How to Remove Category ID from URL of PrestaShop version 1.2.5

This following modification will remove the category id from the URL of your PrestaShop. As we know, by default, PrestaShop uses the URL for category such as: /3-accessories-ipod instead of accessories-ipod. Please note that you have to enable the URL Friendly feature that you can set it up from the Preferences tab in admin panel by choosing the Yes option in order to implement this modification. I have successfully applied this modification into PrestaShop version 1.2.5 (the stable version until I wrote this current article).

  1. Make sure that you have already had the .htaccess file in your PrestaShop’s root directory, which has the content like the following:
    # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
    # http://www.prestashop.com - http://www.prestashop.com/forums
    
    # 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$ /prestashop1250/img/p/$1-$2$3.jpg [L,E]
    RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /prestashop1250/img/c/$1$2.jpg [L,E]
    RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$3&isolang=$1$5 [L,E]
    RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$2&isolang=$1$4 [L,E]
    RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/category.php?id_category=$2&isolang=$1 [QSA,L,E]
    RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$2$4 [L,E]
    RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop1250/product.php?id_product=$1$3 [L,E]
    RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/category.php?id_category=$1 [QSA,L,E]
    RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop1250/cms.php?id_cms=$1 [QSA,L,E]
    RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /prestashop1250/supplier.php?id_supplier=$1$3 [QSA,L,E]
    RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /prestashop1250/manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
    RewriteRule ^lang-([a-z]{2})/(.*)$ /prestashop1250/$2?isolang=$1 [QSA,L,E]
    
    # Catch 404 errors
    ErrorDocument 404 /prestashop1250/404.php
    You can generate this .htaccess file from admin panel at Tools tab, then choose Generators sub-tab, and follow the instructions carefully there. In this example above, I use prestashop1250 for the domain name. Please adjust it with yours.
  2. Add this following code after the last line of that code above:
    # Remove Category ID from URL. You have to modify also the /classes/Link.php file! Modified by Masino Sinaga, May 3, 2010
    RewriteRule ^accessories-ipod$ /prestashop1250/category.php?id_category=3 [QSA,L,E]
    RewriteRule ^music-ipods$ /prestashop1250/category.php?id_category=2 [QSA,L,E]
    RewriteRule ^laptops$ /prestashop1250/category.php?id_category=1 [QSA,L,E]
    It meant that we will adjust the 3 categories name: accessories-ipod, music-ipods, and laptops. In other words, if you have more than 3 categories above, you have to define or add your own category one by one into the .htaccess file.
  3. Open your /classes/Link.php file, and find this code:
    public function getCategoryLink($id_category, $alias = NULL)
    {
    if (is_object($id_category))
    return ($this->allow == 1) ? (_PS_BASE_URL_.__PS_BASE_URI__.intval($id_category->id).'-'.$id_category->link_rewrite) : 
    (_PS_BASE_URL_.__PS_BASE_URI__.'category.php?id_category='.intval($id_category->id));
    if ($alias)
    return ($this->allow == 1) ? (_PS_BASE_URL_.__PS_BASE_URI__.intval($id_category).'-'.$alias) :
    (_PS_BASE_URL_.__PS_BASE_URI__.'category.php?id_category='.intval($id_category));
    return _PS_BASE_URL_.__PS_BASE_URI__.'category.php?id_category='.intval($id_category);
    }
    then replace with this following code:
    public function getCategoryLink($id_category, $alias = NULL)
    {
    if (is_object($id_category))
    return ($this->allow == 1) ? (_PS_BASE_URL_.__PS_BASE_URI__./*intval($id_category->id).'-'.*/$id_category->link_rewrite) : 
    (_PS_BASE_URL_.__PS_BASE_URI__.'category.php?id_category='.intval($id_category->id));
    if ($alias)
    return ($this->allow == 1) ? (_PS_BASE_URL_.__PS_BASE_URI__./*intval($id_category).'-'.*/$alias) :
    (_PS_BASE_URL_.__PS_BASE_URI__.'category.php?id_category='.intval($id_category));
    return _PS_BASE_URL_.__PS_BASE_URI__.'category.php?id_category='.intval($id_category);
    }

Now you should have the URL without the category id. In the next article I will try to modify for the others (cms id, product id, etc).

16 Nov 2010

Menambahkan Contact Support Pada Prestashop

Kita bisa menambahkan Contact YM Online pada sidebar website, akan tetapi disini kita akan mencoba untuk menggunakan plugin modules yang support syntax HTML. Disini yang perlu dilakukan adalah menambahkan modules blockhtml. Silahkan download blockhtml.zip (File Size: 4KB).





Setelah itu langkah-langkah yang harus dilakukan adalah:
  1. Tentunya masuk sebagai admin prestashop anda
  2. Pilih Modules 
  3. Add a new module 
  4. Silahkan browse pada file yang telah anda download
  5. Klik tombol upload this module 
  6. Jika upload sukses, carilah Block HTML 
  7. Kemudian pilih >> Configure 
  8. Pada Left text, masukkan kode berikut:
              <h4>Contact Support</h4>
              <ul>
              <center><br/><h2>Contact YM Online</h2>
              <b>Dhafiq : </b><a href="ymsgr:sendIM?mudafiq.riyan"><img src="http://opi.yahoo.com/online?u=mudafiq.riyan&amp;m=g&amp;t=1&amp;l =us&amp;opi.jpg" border="0" alt="Status YM" /></a><br/><br/>
              <b>Abbi&nbsp;&nbsp;&nbsp;&nbsp;: </b><a href="ymsgr:sendIM?if_rudolf"><img src="http://opi.yahoo.com/online?u=if_rudolf&amp;m=g&amp;t=1&amp;l =us&amp;opi.jpg" border="0" alt="Status YM" /></a><br/><br/>
              <b>Ivan&nbsp;&nbsp;&nbsp;&nbsp;: </b><a href="ymsgr:sendIM?van_de_light"><img src="http://opi.yahoo.com/online?u=van_de_light&amp;m=g&amp;t=1&amp;l =us&amp;opi.jpg" border="0" alt="Status YM" /></a><br/><br/><br/>
              <h2>Contact SMS/Telp</h2></center>
              &nbsp;&nbsp;&nbsp;&nbsp;<b>Dhafiq : </b>08813327xxx<br/><br/>
              &nbsp;&nbsp;&nbsp;&nbsp;<b>Abbi &nbsp;&nbsp;&nbsp;: </b>085234167xxx<br/><br/>
              &nbsp;&nbsp;&nbsp;&nbsp;<b>Ivan &nbsp;&nbsp;&nbsp;: </b>085645684xxx
              <center><br/></br></br><br/></br></br><h2>Contact Email</h2>
              online.goblin@gmail.com
              </center><br/></br></br><br/></br></br>
              </ul>
  9. Dari kode di atas, silahkan anda ubah sesuai keinginan anda
  10. Nanti hasilnya adalah sebagai berikut:

7 Okt 2010

Ubah Menu Information Pada Prestashop

Menu information yang ada pada prestashop adalah berasal dari modules blockinfos. Dan secara default, menu tersebut terdiri dari: Delivery, Legal Notice, Terms and conditions of use, dan About us. Dan bagaimana untuk mengubah isi dari tiap contentnya itu?





1. Masuklah sebagai admin dari prestashop anda
2. Kemudian pilih Tools – CMS
3. Disitu berisi konten-konten dari menu informations tersebut
4. Silahkan mengubah isi dari tiap content tersebut, klik icon edit yang ada pada bagian Action

Sedangkan untuk mengubah nama menunya, misal semula Informations, mau kita ubah dengan nama Goblin Menu:

1. Silahkan masuklah pada directory project prestashop anda
2. Kemudian cari directory modules
3. Setelah itu cari directory blockinfos
4. Disitu ada file dengan nama blockinfos.tpl, silahkan buka dengan notepad
5. Edit script yang semula <h4>{l s='Informations' mod='blockinfos'}</h4> menjadi <h4>{l s='Goblin Menu' mod='blockinfos'}</h4>

22 Agu 2010

Mengganti Artikel Di Halaman Home Prestashop

Apa sih prestashop itu? Prestashop merupakan CMS (Content Managemen System) yang support untuk web e-commerse.

Bagi yang masih awam menggunakan prestashop, dan mengalami kesulitan untuk mengubah halaman home yang ada pada prestashop seperti gambar berikut:


Dimana ya mengubah kalimat yang ada di halaman home tersebut. Kan disitu kata-katanya pake bahasa prancis (kalo gak salah :D ). Nah, mungkin bagi yang masih baru kenal prestashop, merasa kebingungan, dimana sih ngubah tulisan dihalaman home tersebut. Itulah yang mau saya bahas disini. Oke langsung saja.
  1. Silahkan masuk sebagai admin dari prestashop anda
  2. Kemudian pilih tab Modules
  3. Setelah itu pada halaman tersebut terdapat banyak modules-modules yang belum terinstal dan sudah terinstall. Carilah home text editor
  4. Kemudian pilih >> Configure
  5. Nah silahkan ubah kalimat dan kata-kata yang ada dihalaman home tersebut. Lihat gambar berikut:


  6. Kemudian silahkan ganti pula logo dihalaman home tersebut. Silahkan browse dan update the editor gambar sesuai keinginan kalian.

Sedikit share ilmu. Semoga bermanfaat.