2017 © Pedro Peláez
 

silverstripe-module silverstripe-testimonials-widgets

A set of widgets for displaying single and multiple testimonials.

image

rattfieldnz/silverstripe-testimonials-widgets

A set of widgets for displaying single and multiple testimonials.

  • Friday, June 9, 2017
  • by rattfieldnz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 45 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 32 % Grown

The README.md

SilverStripe Testimonials Widgets

These are widgets you can use with the Silverstripe Testimonials module., (*1)

Installation

Step 1

Go to the root of your Silverstripe project, and enter :, (*2)

composer self-update && composer require rattfieldnz/silverstripe-testimonials-widgets, (*3)

Step 2

In your project's mysite/_config/config.yml file, insert the following:, (*4)

TestimonialsHolderPage: 
  no_of_testimonials_in_widget: 2 
  testimonial_words_summary_count: 50

The above should be self-explanatory :)., (*5)

Step 3

Run the following command to populate your Silverstripe project's database with this module's details:, (*6)

php framework/cli-script.php dev/build flush=all, (*7)

Step 4

Go to a page you have created, e.g. your 'home' page. Make sure you have already configured it so it can display widgets., (*8)

When you go to edit your page, you should see two tabe on the left hand side - 'Main Content' and another tab for widgets. If you see the latter, you can proceed to the next step., (*9)

Step 4

You should see all the available widgets in your SilverStripe project. The widgets we are looking for are 'Testimonial' and 'Testimonials'., (*10)

'Testimonial' displays a single randomly-selected testimonial that has been published., (*11)

'Testimonials' displays multiple randomly-selected testimonials which have been published., (*12)

Step 5

Select either, or both, of these widgets and then save your page. You should now see the widget/s and its/their content on the page you just added them to., (*13)

If not, append ?flush=all and revisit your page's URL., (*14)

If the above does not work, remove the cache files with the command sudo rm -rf /tmp/., (*15)

Contributing and Feedback

I have just recently started Silverstripe development, and am still learning the awesome ecosystem that it is. If you see anything I have missed, or constructive ideas to make this module better, please contact me and let me know. You can even fork this repo and play with the code yourself too :)., (*16)

The Versions

09/06 2017

dev-master

9999999-dev http://github.com/rattfieldnz/silverstripe-testimonials-widgets

A set of widgets for displaying single and multiple testimonials.

  Sources   Download

BSD-2-Clause

The Requires

 

by Robert Attfield

widget silverstripe testimonials