Skip to content

Give the user the option to display reviews in different languages.

License

Notifications You must be signed in to change notification settings

ThomasJanda/oxid-reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oxid Reviews

Description

Give the user the option to display reviews in different languages.

Install

  1. Copy files into following directory

     source/modules/rs/reviews
    
  2. Add following to composer.json on the shop root

     "autoload": {
         "psr-4": {
             "rs\\reviews\\": "./source/modules/rs/reviews"
         }
     },
    
  3. Refresh autoloader files with composer.

     composer dump-autoload
    
  4. Template changes

    Make following changes on file /source/Application/views/wave/tpl/page/details/inc/fullproductinfo.tpl

     <div class="reviews">
         <div class="h2 reviews-header">[{oxmultilang ident="WRITE_PRODUCT_REVIEW"}]</div>
         [{* rs-reviews start *}]
         [{block name="rs_reviews"}]
         [{* rs-reviews end *}]
         [{include file="widget/reviews/reviews.tpl"}]
         [{* rs-reviews start *}]
         [{/block}]
         [{* rs-reviews end *}]
     </div>
    
  5. Enable module in the oxid admin area, Extensions => Modules

  6. Clear template and language cache