You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ticket is similar to #266. The #266 should be tackled before to discuss all things before we start with this one.
The Excerpt Tab should be extendable over XML mechanism of Sulu. At current state create a lot of unneeded Excerpt fields which we could also store as JSON object we already do for template data. The only fields which is required for filtering is currently the tags and categories all other fields we could store into a JSON field:
That way we can remove the different setters which are not required.
The change is a BC break and require a SQL upgrade in the UPGRADE.md.
The exptected result is if somebody creates inside of its own project a config/form/content_excerpt.xml it should add that new field and save it also to the excerptData json field:
This ticket is similar to #266. The #266 should be tackled before to discuss all things before we start with this one.
The Excerpt Tab should be extendable over XML mechanism of Sulu. At current state create a lot of unneeded Excerpt fields which we could also store as JSON object we already do for template data. The only fields which is required for filtering is currently the
tags
andcategories
all other fields we could store into a JSON field:In this case we may change the
content_excerpt.xml
to put Excerpt again intoext/excerpt
like we already done previosly in thepage_excerpt
.To support this we extend the
ExcerptNormalizer
so the excerptData field get correctly returned under['ext']['excerpt']
We can simplify the ExcerptInterface
setExcerptData
andgetExcerptData
could look like this:That way we can remove the different setters which are not required.
The change is a BC break and require a SQL upgrade in the UPGRADE.md.
The exptected result is if somebody creates inside of its own project a
config/form/content_excerpt.xml
it should add that new field and save it also to theexcerptData
json field:We may could add should add to our test application such file: https://github.com/sulu/SuluContentBundle/tree/0.8.1/Tests/Application/config and test it in the
ExampleTestController
The text was updated successfully, but these errors were encountered: