Bug #22359

Updated by Mathias Schreiber over 4 years ago

Hello,

I was unable to make FE editing work with this UserTS setup :

admPanel {
enable {
edit = 1
}
hide = 1
override {
edit {
displayFieldIcons = 1
displayIcons = 0
}
}
}

Setting displayIcons = 1 does the trick however this enable features I don't need.

It seems there is an issue with the test function isFrontendEditingActive which is testing only if $GLOBALS['TSFE']->displayEditIcons == 1 but not if $GLOBALS['TSFE']->displayFieldEditIcons == 1.

A simple patch is attached.

Many thanks for your review



(issue imported from #M13978)

Back