Skip to content

Commit

Permalink
update default template and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
korthjp17 committed May 9, 2018
1 parent 58d8c1d commit 6f756ef
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ A block to embed code like iFrames or Javascript on a page

Adds a block to display embeddable code on a page. Useful for iFrames or Javascript embeds, like MailChimp sign up forms.

## Screen Shots

#### Front End sample of an Embed Code Element
![Front End sample of an Embed Code Element](./readme-images/embed-block-sample.jpg)

#### CMS - Embed Code Element Main Tab
![CMS - Embed Code Element Main Tab](./readme-images/embed-block-cms.jpg)


## Getting more elements

See [Elemental modules by Dynamic](https://github.com/dynamic/silverstripe-elemental-blocks#getting-more-elements)
Expand Down
Binary file added readme-images/embed-block-cms.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme-images/embed-block-sample.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<div class="$ExtraClass">
<% if $ShowTitle %><h3>$Title</h3><% end_if %>
<% if $Code %>$Code<% end_if %>
</div>
<% if $Title && $ShowTitle %><h2 class="element__title">$Title</h2><% end_if %>

<% if $Code %>$Code<% end_if %>

0 comments on commit 6f756ef

Please sign in to comment.