Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Disable your ad blocker to continue using our website.
Ask the community for help and support.
Denzel
VIP Member
Posts: 98 Joined: Sat Oct 31, 2020 7:22 pm
Has thanked: 9 times
Been thanked: 15 times
Post
by Denzel » Wed Aug 24, 2022 8:47 am
Are the manufacturers action-hooks still called ? I've made an additional manufacturer field, which is not more updated. Listener looks like this:
Code: Select all
class hook_admin_manufacturers_manufacturersNotes {
public function listen_insertSaveAction() {
// do stuff
}
}
But looks, as it isn't called
Any clues ?
Kofod95
VIP Member
Posts: 605 Joined: Sat Feb 06, 2021 7:38 pm
Has thanked: 80 times
Been thanked: 141 times
Post
by Kofod95 » Wed Aug 24, 2022 9:31 am
listen_updateProductAction()
and
listen_insertProductAction
Maybe?
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns:
Phoenix user guide
Denzel
VIP Member
Posts: 98 Joined: Sat Oct 31, 2020 7:22 pm
Has thanked: 9 times
Been thanked: 15 times
Post
by Denzel » Wed Aug 24, 2022 10:04 am
Kofod95 wrote: ↑ Wed Aug 24, 2022 9:31 am
listen_updateProductAction()
and
listen_insertProductAction
Maybe?
//Daniel
That's true. Thank you
Denzel
VIP Member
Posts: 98 Joined: Sat Oct 31, 2020 7:22 pm
Has thanked: 9 times
Been thanked: 15 times
Post
by Denzel » Thu Aug 25, 2022 3:53 pm
Sorry, it's me again... Where are those new Hook-calls hidden?
Again I can't find the productSaveAction() call... At some point it was in categories.php,
but I can't find any calls in catalog.php...
Kofod95
VIP Member
Posts: 605 Joined: Sat Feb 06, 2021 7:38 pm
Has thanked: 80 times
Been thanked: 141 times
Post
by Kofod95 » Thu Aug 25, 2022 4:44 pm
This is more basic than you need, but covers the topic somewhat.
viewtopic.php?p=10533#p10533
The changes happened in 1.0.8.5 (if I remember correctly)
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns:
Phoenix user guide
Denzel
VIP Member
Posts: 98 Joined: Sat Oct 31, 2020 7:22 pm
Has thanked: 9 times
Been thanked: 15 times
Post
by Denzel » Thu Aug 25, 2022 5:23 pm
Ok, I think, I got it... every action (from admin/includes/actions) has an automaticly called hook, and some are still inside this actions (found insertCategoryUpdateCategoryAction still working)... TY again