[TYPO3-core] Dispatch extbase extension without registering it as module.

Philipp Gampe philipp.gampe at typo3.org
Sun Oct 6 20:23:11 CEST 2013


Hi Helmut,

Helmut Hummel wrote:

> There is the need to have functionality that does not have it's own
> entry script, this centrally dispatched, but does not show up in the
> module menu. An example for that are wizards or click menu items.
> 
> We even have an (not Extbase related) API for that[1].
> 
> The issue here is that this (core) API is far from obvious and module
> registration adds "arbitrary" data to a global array which then
> magically results in menu entry (or not).

The doc also lacks an example on how to do it. It mostly talks about changed 
old (pre 4.1) modules to the mod.php way.

> So if anything, we should make the core API easier and more
> straightforward.

+100

> For this very issue:
> 
> The registerModule method from Extbase was somehow hacked into the
> current API. So we have two options now:
> 
> 1. Add the missing functionality to this "hack" (like Fabien suggested)
> 2. Rework the core API to be cleaner and more straightforward.
> 
> Since we are close to feature freeze and have more important things
> tackle, I would rather go for 1. because 2. has the potential to break a
> lot.

OK, but the idea sounds still wired. Well, I guess we have to live with this 
now.

> For the sake of consistency, I would use "hideInMenu" as configuration
> option which is used in Neos as well.

Best regards
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!



More information about the TYPO3-team-core mailing list