seo-bundle icon indicating copy to clipboard operation
seo-bundle copied to clipboard

Use Sonata defaults in form

Open wouterj opened this issue 11 years ago • 5 comments

The form in the admin panel should not only show the values of the SeoMetadata, but also the defaults of the Sonata page service if no value was found for it in SeoMetadata

wouterj avatar Apr 14 '14 15:04 wouterj

would be nice, but must be done in a way that on save, we do not duplicate the defaults into the SeoMetadata.

dbu avatar Apr 14 '14 15:04 dbu

:+1: @dbu It makes no sense to persist stuff, wich is set as default in cmf/sonata seo setting. In general We need a clear line of handling both kinds of default values. Which are used in which situation, that's an issue i have with the current version. But i would be a solution to just "show" the default values or show the result with the current setting - based on that clear line We need.

ElectricMaxxx avatar Apr 14 '14 15:04 ElectricMaxxx

Btw i won't see this thing as a "bug". It's a feature for the admin form extension support. :-)

ElectricMaxxx avatar Apr 14 '14 15:04 ElectricMaxxx

An other question would be: How do you want to display the existing values for all ExtraProperties. Would never be possible to show them while adding a new one. Whith sonatas "show-action" we could add a "view", means a list, of the current state after save. Maybe with a contrast between default and content's values.

ElectricMaxxx avatar Apr 15 '14 12:04 ElectricMaxxx

maybe we should solve that by showing a hint with the base value that is going to be used if field is left empty?

dbu avatar May 02 '14 12:05 dbu