webfox / silverstripe-faq
A silverstripe faq module
Installs: 298
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Type:silverstripe-module
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 %>