webfox/silverstripe-testimonials

This package is abandoned and no longer maintained. No replacement package was suggested.

A silverstripe testimonials module

Installs: 257

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 3

Open Issues: 0

Type:silverstripe-module

v0.2.2 2017-01-15 20:22 UTC

This package is auto-updated.

Last update: 2022-10-14 02:50:39 UTC


README

A FAQ module for silverstripe that implements the backend on any pagetype via an extension but does not dictate the frontend!

How to use

This module supports installation via composer only:

composer require webfox/silverstripe-testimonials

Apply to any PageType you want the "Testimonials" tab to appear on

(can be applied to multiple page types)

Page:
  extensions:
    - TestimonialsExtension

Use on the frontend

<% if $Testimonials %>
    <% loop $Testimonials %>
        <h2>Author: {$Title}</h2>
        <p>Company: {$Company}</p>
        <p>Date: {$Date}</p>
        <img src="{$Image.URL}" />
        <p>Testimonial:</p>
        {$Testimonial}
    <% end_loop %>
<% end_if %>