Page 1 of 1

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

Posted: Sat May 01, 2021 12:15 pm
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!

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

Posted: Sat May 01, 2021 2:15 pm
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.