Frontend Editing in TYPO3 6.2

After an update from TYPO3 version 4.5 to 6.2 the system extension “Frontend Editing” (feedit) no longer worked. The icons for editing the content were not shown. Users are all member of an user group with this TSconfig:

1
2
3
4
5
6
7
8
admPanel {
  enable.edit = 1
  module.edit.forceNoPopup = 1
  module.edit.forceDisplayFieldIcons = 0
  module.edit.displayIcons = 1
  module.edit.forceDisplayIcons = 1
  hide = 1
}

After some debugging I recognized that the CSS file responsible for showing the icons was not included with this configuration. This bug is described here. It seems to be fixed in TYPO3 version 7.4 but unfortunately not in version 6.2.

As a workaround I included the CSS file myself in the site template:

1
2
3
4
5
6
# Workaround for feedit
[globalVar = TSFE : beUserLogin > 0]
page.includeCSS {
  file1 = typo3/sysext/t3skin/stylesheets/standalone/admin_panel.css
}
[global]

If the user is logged on to the backend the file admin_panel.css is included.