This plugin is an extension to the Mja.Testimonials plugin. This extension enables uploading photo for testimonials.
Installation via Command Line
php artisan plugin:install ArrizalAmin.PhotoTestimonials
Installation
This plugin requires Mja.Testimonials, so make sure you have that installed.
Go to System - Updates and in the search field enter ArrizalAmin.PhotoTestimonials
Usage
Copy /plugins/mja/testimonials/components/testimonials/default.htm to your themes partials/testimonials folder. Where you want your image, add:
{% for testimonial in testimonials %}
<div class="col-md-6">
<figure class="photo">
<img src="{{ testimonial.photo.path }}" alt="">
</figure>
<div class="context">
<div class="inner">
<blockquote>{{ testimonial.content|raw }}</blockquote>
{% if testimonial.author %}
<p class="who">{{ testimonial.author }}</p>
{% endif %}
</div>
</div>
</div>
{% endfor %}
Remember that you can format it any way you like.
-
Matiss Janis Aboltins
Found the plugin useful on 27 May, 2015
Thanks for the amazing addition to the Mja.Testimonials plugin!
-
| 1.0.1 |
First version of PhotoTestimonials May 23, 2015 |
|---|