qunabu/silverstripe-htmlblocks

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

A skeleton for SilverStripe modules.

Maintainers

👁 qunabu

Package info

github.com/qunabu/silverstripe-htmlblocks

Type:silverstripe-module

pkg:composer/qunabu/silverstripe-htmlblocks

Statistics

Installs: 345

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2017-11-06 17:25 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause a38a23739d61e845b658a70af8f0a7badfd030fb

cmssilverstripe

This package is auto-updated.

Last update: 2023-03-20 09:49:03 UTC


README

Allows to inject HTML Blocks into .SS templates and HTMLContent as shortcode (TODO).

<% 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 %>

👁 how to use HTML Blocks 1

👁 how to use HTML Blocks 2