difference from /includes/hooks folder and /templates/default/hooks

Ask the community for help and support.
Post Reply
loop
VIP Member
VIP Member
Posts: 230
Joined: Thu Mar 25, 2021 12:26 pm
Has thanked: 7 times
Been thanked: 3 times

difference from /includes/hooks folder and /templates/default/hooks

Post by loop »

Hi Everyone
I'm not sure where to put Modifications i need with hooks.
Is both possible? whenn should i put in hooks and whenn in templates? don't get that really...

thank you!
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: difference from /includes/hooks folder and /templates/default/hooks

Post by ecartz »

You should put things with template specific HTML in the template hooks directory for that template.

You should put

1. System hooks.
2. Admin hooks.
3. Hooks that don't contain HTML/Javascript.

In the includes/hooks/ directory.
Post Reply