Contao < 2.11
Is there a way to find out which content element(CE) (['TL_CTE']) is selected in (Backend)BE, inside onload_callback function?
Basically I want to change the DCA dynamically depending on the type of CE chosen in BE. I have custom module (which uses tl_content) in which, I use the field 'text' from default CE. I wanted that text field in my custom CE not as mandatory. do anyone have suggestion, please let me know.
Bookmarks