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
Currently the structure does not return created, changed, creator and changer. I personally not even sure if we want it. As the only thing which should be displayed on a Website is authored and author. All other things should be not used to display as the Content Manager can not change it. But in some cases a lastChanged can make sense example in the Sitemap or on a Blog display when it is updated. The other 3 fields I would even like to avoid to be available in Twig to avoid false usage as it that fields are more for the Admin instead of the Website aslong as you are not creating a Wiki like website application.
The text was updated successfully, but these errors were encountered:
Since it's labelled "To Discuss": I ran into this today, having author/authored available would be very helpful, especially for sth. like articles/posts which I'm sure a lot of people will use in the future.
I'm currently getting that data via a twig function from the current content object to render where it's needed, didn't find a better option (with my limited Sulu, let alone ContentBundle knowledge).
Thanks for the hint, I don't want to misuse this issue for my "issue" but I used exactly that example application as a starting base since there's not much documentation available, so the AuthorInterface is already implemented (using the latest commit in 0.x b5c3eeb) but I don't see any author related data in the twig output (except the request object attribute of the entity). Would I expect it in the content array or in the root level?
Currently the structure does not return created, changed, creator and changer. I personally not even sure if we want it. As the only thing which should be displayed on a Website is
authored
andauthor
. All other things should be not used to display as theContent Manager
can not change it. But in some cases alastChanged
can make sense example in theSitemap
or on a Blog display when it is updated. The other 3 fields I would even like to avoid to be available inTwig
to avoid false usage as it that fields are more for theAdmin
instead of theWebsite
aslong as you are not creating aWiki
like website application.The text was updated successfully, but these errors were encountered: