-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add content fields to ArticleViewDocument (#558)
* Add content fields to index * Fix lint error * Fix test * Add documentation
- Loading branch information
Showing
7 changed files
with
213 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" ?> | ||
<template xmlns="http://schemas.sulu.io/template/template" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd"> | ||
|
||
<key>default_with_search_tags</key> | ||
|
||
<view>::default</view> | ||
<controller>SuluWebsiteBundle:Default:index</controller> | ||
<cacheLifetime>2400</cacheLifetime> | ||
|
||
<tag name="sulu_article.type" type="blog"/> | ||
|
||
<properties> | ||
<property name="title" type="text_line" mandatory="true"> | ||
<tag name="sulu.search.field"/> | ||
</property> | ||
|
||
<property name="pageTitle" type="text_line"> | ||
<tag name="sulu.search.field"/> | ||
</property> | ||
|
||
<property name="article" type="text_editor"> | ||
<tag name="sulu.search.field"/> | ||
</property> | ||
|
||
<property name="article_2" type="text_editor"/> | ||
|
||
<block name="blocks" default-type="title-with-article"> | ||
<types> | ||
<type name="title-with-article"> | ||
<properties> | ||
<property name="title" type="text_line"> | ||
<tag name="sulu.search.field"/> | ||
</property> | ||
|
||
<property name="article" type="text_editor"> | ||
<tag name="sulu.search.field"/> | ||
</property> | ||
</properties> | ||
</type> | ||
</types> | ||
</block> | ||
</properties> | ||
</template> |