[Typo3-dev] OT: Hook manager extension for typo3.org

Michael Stucki michael at typo3.org
Sat Jun 25 15:24:12 CEST 2005


Hi Matthias,

> I can write you such an extension. I'm on holidays for a week from
> tomorrow on, but I'll take the laptop, so I think I can get it done over
> the week.

Very good! :-)

> A few questions though:
>>>>- the author who requested the hook
> Should the author be filled in by the author manually or should this be
> automatically the current typo3.org FE-User (I'd prefer the latter)

I'd use both, but the FE user is set by default if present.

>>>>- the purpose he needs it for
> I guess this would be a normal textarea

Yes. I think it can be really simple.

>>>>- _any_ extension which uses this hook (everybody whould be forced to
>>>>  register if he uses any hook - in his very own interest!)
> How do you want to force him?

If a hook is registered but not used by any extension anymore, it will be
deleted in the core.

> I think there should be a database with all hooks behind it, so the
> author can select the hook from a select field. Who will fill this
> database? What fields do we need here?

I can do that in the first run.

One more thought: Requested hooks could be stored in the same table but
should be disabled by default because they're not really in the core yet (I
think it's good good enough if that can be changed in the BE afterwards).

Regards, and happy holidays!
- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list