Dynamic Script and Css
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!
- AmzoooJibal
- Posts: 35
- Joined: 12 Mar 2021, 20:09
Dynamic Script and Css
Hello,
when i look to the ext packages templates all is'nt a laravel blade templae, so for that there is any way to dynamically load the script and the css for each page ? for exmple in resources/view/vendor/shop/aimeos/index.blade.php i need to work with section or yield then in ext package change the section or yield dynamically .
when i look to the ext packages templates all is'nt a laravel blade templae, so for that there is any way to dynamically load the script and the css for each page ? for exmple in resources/view/vendor/shop/aimeos/index.blade.php i need to work with section or yield then in ext package change the section or yield dynamically .
Re: Dynamic Script and Css
You can add scripts and CSS URLs in the header-standard.php files of the components, e.g. for the detail component:
https://github.com/aimeos/ai-client-htm ... andard.php
They will be added automatically to the pages.
https://github.com/aimeos/ai-client-htm ... andard.php
They will be added automatically to the pages.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- AmzoooJibal
- Posts: 35
- Joined: 12 Mar 2021, 20:09
Re: Dynamic Script and Css
this is for the client side what about admin side ?
Re: Dynamic Script and Css
Yes, this is for the client side. For the admin backend, add your code to the files in the ./themes/ directory. Read https://aimeos.org/docs/latest/admin/jq ... stom-cssjs for more details.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
