Skip to content

Commit

Permalink
Element is now using a separate element holder for customisation
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-firebrand committed Jul 31, 2018
1 parent e701dd2 commit 4d981a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Elements/HailCarouselElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
class HailCarouselElement extends BaseElement
{
private static $table_name = 'HailCarouselElement';
private static $controller_template = 'HailCarouselElementHolder';
private static $db = [
'FilterTags' => 'Text',
'Limit' => 'Int',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="element $SimpleClassName.LowerCase<% if $StyleVariant %> $StyleVariant<% end_if %><% if $ExtraClass %> $ExtraClass<% end_if %>" id="$Anchor">
$Element
</div>

0 comments on commit 4d981a0

Please sign in to comment.