diff --git a/_config/config.yml b/_config/config.yml index 58ca9b5..eacdd14 100644 --- a/_config/config.yml +++ b/_config/config.yml @@ -4,7 +4,7 @@ Name: FlexSlider SlideImage: db: Name: Varchar(255) - Title: Varchar(255) + Headline: Varchar(255) Description: Text SortOrder: Int ShowSlide: Boolean diff --git a/code/SlideImage.php b/code/SlideImage.php index 08a3f4d..8d8b936 100644 --- a/code/SlideImage.php +++ b/code/SlideImage.php @@ -21,7 +21,7 @@ public function getCMSFields() $fields->addFieldsToTab('Root.Main', array( TextField::create('Name') ->setDescription('for internal reference only'), - TextField::create('Title') + TextField::create('Headline') ->setDescription('optional, used in template'), TextareaField::create('Description') ->setDescription('optional, used in template'), diff --git a/templates/Includes/FlexSlider.ss b/templates/Includes/FlexSlider.ss index 97bd950..08339de 100644 --- a/templates/Includes/FlexSlider.ss +++ b/templates/Includes/FlexSlider.ss @@ -10,7 +10,7 @@ <% end_if %> <% if $PageLink %><% end_if %> - <% if $Title %>
$Description
<% end_if %> <% end_loop %>