how to add jquery and bootstrap to aimeos
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
how to add jquery and bootstrap to aimeos
I want to redesign the header and footer parts of the aimeos site by using bootstrap CSS and jquery library, and also don't want this code to affect the remaining parts of the templates like basket standard body, shop page content, profile page content, etc. how can I achieve this ... explain this in easy steps, please...
Re: how to add jquery and bootstrap to aimeos
Bootstrap is already part of the Aimeos theme:
https://github.com/aimeos/ai-client-htm ... lt/app.css
Also, Aimeos uses a jQuery compatible library named cash-dom, which offers the same API methods if modern browsers doesn't provide a better alternative:
- https://github.com/fabiospampinato/cash
- https://github.com/aimeos/ai-client-htm ... ult/app.js
https://github.com/aimeos/ai-client-htm ... lt/app.css
Also, Aimeos uses a jQuery compatible library named cash-dom, which offers the same API methods if modern browsers doesn't provide a better alternative:
- https://github.com/fabiospampinato/cash
- https://github.com/aimeos/ai-client-htm ... ult/app.js
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: how to add jquery and bootstrap to aimeos
when i tried adding jquery there is error in aimeos.js file of my theme extension , in this code block
/**
* Initializes offscreen menus
*/
setupOffscreen() {
$('.zeynep').each((idx, el) => {
$(el).zeynep({});
})
},
for error check the attactchment
/**
* Initializes offscreen menus
*/
setupOffscreen() {
$('.zeynep').each((idx, el) => {
$(el).zeynep({});
})
},
for error check the attactchment
- Attachments
-
- Untitled.jpg (218.65 KiB) Viewed 1186 times
Re: how to add jquery and bootstrap to aimeos
We don't recommend to use jQuery at all because we are using cash-dom as modern replacement.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: how to add jquery and bootstrap to aimeos
I am finding difficulty in integrating slick slider BCS slick slider requires jquery, and not only this almost packages need jquery ,,and cash dom comes with very less functionalities,is there any safe way we can add jquery without affecting the code ..
Re: how to add jquery and bootstrap to aimeos
Only if you create your own theme.
Using the default theme, SwiffySlider is used instead:
https://swiffyslider.com/
Using the default theme, SwiffySlider is used instead:
https://swiffyslider.com/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: how to add jquery and bootstrap to aimeos
yes in new theme i wan to add jquery