Where to add jquery

Napoolion

Member
Hey there, making some customization to my application. where should I save custom jquery I write?
Want to add a show/hide button at campaign setup page.



If somebody is curious where to add CSS, then /assets/css/common.css
If you want to add php and html, then most pages are at: /apps/customer/views

Make sure you make backups of your modified files/codes before each update, files might change I think.
 
@Napoolion -
To add custom css in customer area, you create a file named style-custom.css and you place it in /customer/assets/css folder.
To add custom js in customer area, you create a file named app-custom.js and you place it in /customer/assets/js folder
Mailwizz will then find and autoload them.

If you need js/css for all the apps, then you have to place them in /assets/{css,js}/ following same naming conventions.
 
Back
Top