Closed seaneble closed 7 years ago
for 1. : i don't understand. what is meant ???
for 2. : the value of TL_ASSETS_URL
ist added here: https://github.com/hofff/contao-calendarfield/blob/master/CT_ROOT/system/modules/hofff_calendarfield/forms/FormCalendarField.php#L66
But the Contao/Controller only checks URLs with protocoll : https://github.com/contao/core/blob/master/system/modules/core/library/Contao/Controller.php#L1805
So, please add a protocoll to youre assets url. Maybe we also have to fix this in the code. @frontendschlampe What do you think?
it's very useful, to add an assets url without protocol - so I think we have to fix this
Actually, if you enter a protocol within the global settings, it is stripped by Contao. This does not happen in the page settings.
@seaneble To fix this issue, we have to clearify yout question 1. What exactly is meant? Where is jQuery included twice in your code example?
See line 1 and line 3 of my snipped.
Hmm, the 1. ist CSS and the 3. is JS ... seems to be okay.
Well, that's embarrassing. I'm sorry. You're right, of course.
Great. So, finally we only have to fix the 2. point (probleme with assets url). Would be planned asap.
This is only a probleme in Contao 3.5 ... with Contao 4.4 the code works fine ... nevertheless the variable TL_ASSETS_URL
is not needed and should be removed
The following markup is generated if there is a separate assets domain in the root page settings:
Two issues with that code: