Hi,
I'm trying to change image folder on edit, but I can't find the correct hook
I'm using listen_updateProductAction but this save the image will be possible to acces to file upload before save?
Anyone have a list with admin hooks or how can I know it?
Thanks in advance.
how can know the admin hooks?
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: how can know the admin hooks?
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
PiLLaO
- Contributor
- Posts: 107
- Joined: Thu Nov 05, 2020 9:28 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 53 times
- Been thanked: 11 times
Re: how can know the admin hooks?
Hi Burt,
It's not exactly what I was looking for, but it offers a lot of interesting information
There isn't anything similar to `productsTab` for categories, is there? Will the way to add entries to edit categories be through `listen_injectSiteEnd`?
It's not exactly what I was looking for, but it offers a lot of interesting information
There isn't anything similar to `productsTab` for categories, is there? Will the way to add entries to edit categories be through `listen_injectSiteEnd`?
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: how can know the admin hooks?
Could you maybe take a screen shot to show where/what you need ?
Do you just need extra inputs in the category edit/add infobox ?
Do you just need extra inputs in the category edit/add infobox ?
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: how can know the admin hooks?
Don't forget that you have `pre` and `post` process actions as well. See https://github.com/CE-PhoenixCart/Phoen ... action.php which I think is maybe what you are looking for...preAction
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: how can know the admin hooks?
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.