silverstripe-module silverstripe-htmlblocks
A skeleton for SilverStripe modules.
qunabu/silverstripe-htmlblocks
A skeleton for SilverStripe modules.
- Monday, November 6, 2017
- by qunabu
- Repository
- 1 Watchers
- 0 Stars
- 275 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 4 % Grown
Silverstripe HTML Blocks
Allows to inject HTML Blocks into .SS templates and HTMLContent as shortcode (TODO)., (*1)
<% if $HTMLBlockExist('social-links') %>
{$HTMLBlock('social-links')} <%-- you can manage this HTML part from the admin panel now --%>
<% else %>
<ul>
<li><a href="https://en-gb.facebook.com/openhouselondon2017" target="_blank" class="social">Facebook</a></li>
<li><a href="https://twitter.com/openhouselondon" target="_blank" class="social">Twitter</a></li>
<li><a href="https://www.instagram.com/openhouselondon/" target="_blank" class="social">Instagram</a></li>
</ul>
<% end_if %>
, (*2)
, (*3)
dev-master
9999999-dev
A skeleton for SilverStripe modules.
Sources
Download
BSD-3-Clause
The Requires
cms
silverstripe