webfox / silverstripe-faq
This package is abandoned and no longer maintained.
No replacement package was suggested.
A silverstripe faq module
Package info
github.com/webfox/silverstripe-faq
Type:silverstripe-module
pkg:composer/webfox/silverstripe-faq
v2.0.1
2016-11-21 00:27 UTC
Requires
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
Install through composer
composer require webfox/silverstripe-faq
Apply to any pagetype you want the "Faq Segments" tab to appear on
(can be applied to multiple page types)
Page: extensions: - FrequentlyAskedQuestionsExtension
Use on the frontend
<% if $Faqs.exists %>
<% loop $Faqs %>
<h2>Q. {$Title}</h2>
<strong>A.</strong> {$Answer}
<% end_loop %>
<% end_if %>