-
-
Notifications
You must be signed in to change notification settings - Fork 213
Include content element in news allow only article elements #5671
Comments
I'm not sure how to set up the "element alias" element in future versions though. a) Should it allow to alias any content element, no matter whether it is part of an article, an event or a news item? b) Or should only allow to alias elements of the same "category", meaning an alias in an article can only reference other article elements and a content element of a news item can only reference other news item elements. @contao/developers @tristanlins @discordier |
I dont see a reason to limit the category. It could be very useful to link article content into a news. |
So it would be cool if the Elements are Grouped by "Article", "News" and so on. |
another problem which belongs to this discussion: it's not possible to copy & paste articles or ce's from "Articles" to "News" or "Events" ... but that should be quite useful! |
Besides this issue and the one @hofff states (see #5234), there are multiple issues with the dynamic parent tables of tl_content:
When solving this issue there should be a general solution for those stated limitations. |
@leofeyer is it possible to get this in 3.5? |
I just want to use the include content element in the news article, but it shows me the article content elements only.
I think the problem is the Database Select in the getAlias function:
https://github.com/contao/core/blob/master/system/modules/core/dca/tl_content.php#L1077
The text was updated successfully, but these errors were encountered: