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!
difference from /includes/hooks folder and /templates/default/hooks
-
- Lead Developer
- Posts: 2657
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 182 times
Re: difference from /includes/hooks folder and /templates/default/hooks
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.
You should put
1. System hooks.
2. Admin hooks.
3. Hooks that don't contain HTML/Javascript.
In the includes/hooks/ directory.