Page 1 of 1
listen_inject options
Posted: Fri Nov 14, 2025 12:16 pm
by xgunnyx
Hi folks,
I have one question, is there any overview about the "listen_inject" options in the hook like listen_injectBodyStart or listen_injectBodyEnd? Especially for the admin-area.
I have figured out there is a "listen_injectBodyContentStart" but it's not available in "admin"
My goal is, hook into the manufacturers-list below the title.
Is there a way to do so? Or maybe I can create my own "hook-into-point" by hooking into the hook-system?
Thank you!
Re: listen_inject options
Posted: Fri Nov 14, 2025 12:22 pm
by burt
xgunnyx wrote: ↑Fri Nov 14, 2025 12:16 pm
My goal is, hook into the manufacturers-list below the title.
Screenshot ?
I don't quite understand where this is..
Nor do I understand what you are wanting to inject there..
Re: listen_inject options
Posted: Fri Nov 14, 2025 12:22 pm
by burt
In addition, please see;
viewtopic.php?f=10&t=3029
Re: listen_inject options
Posted: Fri Nov 14, 2025 12:52 pm
by xgunnyx
Hi Burt, thank you for the quick reply.
What I'm trying to do is adding the alphabet to limit the manufacturer-list by letter
for example you click on "A" you get only all the brands which names starting with A :-)
I already did this in the old oscommerce
phoenix-screenshot2.jpg
phoenix-screenshot.jpg
Re: listen_inject options
Posted: Fri Nov 14, 2025 1:40 pm
by burt
There is a search facility, click the question mark in the right hand side, near "neuer hersteller" - in the input box type "a" (or whatever), press return.
You could possibly do something with `extraButtons` hook, where you output a lot of buttons each linking to ?search=a (or whatever) which would add to that same place.
Re: listen_inject options
Posted: Fri Nov 14, 2025 2:00 pm
by xgunnyx
Well, thank you very much.
What do you say about the "injection points"
listen_injectBodyStart
listen_injectBodyEnd ... and so on
where can I see all the "listen_inject" possibilitys for both front- & backend? Is there a kind of developers manual?
Thanx!
Re: listen_inject options
Posted: Fri Nov 14, 2025 2:27 pm
by burt
https://github.com/CE-PhoenixCart/Phoen ... wiki/Hooks
You could add in your own Hook listeners where-ever you need.
Re: listen_inject options
Posted: Fri Nov 14, 2025 4:14 pm
by xgunnyx
Great, that's exactly what I was looking for
Thanx a lot especially for your quick replies!