-
-
Notifications
You must be signed in to change notification settings - Fork 213
Page create does not respect default article settings #8720
Comments
Have you tried it with |
I guess what he means is that |
Default settings works but not when article gets created while a new page gets created. Only works when you create a new article. Now I've tested your proposal but with no success as expected. |
@contao/developers How can we solve this without duplicating most of the |
What if the |
Yeah well, all the lines: https://github.com/contao/core/blob/master/system/modules/core/drivers/DC_Table.php#L893-L905 |
@contao/developers Do you agree with @Toflar's suggestion? |
I can't think of a better solution… |
Although IMO we have to copy a lot more code, don't we? https://github.com/contao/core/blob/master/system/modules/core/drivers/DC_Table.php#L874-L910 |
You are right. What about extracting that code into its own method (e.g. |
Config your default article settings.
Create a page. The article created with this page does not have the default article settings.
The text was updated successfully, but these errors were encountered: