Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#1766 by Bananamoon
17 Aug 2015, 21:49
Hi! Thought I'd post it in another topic, so if people bump into the same problem they might end up here :)

Soooo, I think I figured all out how the views and components and all work, I managed to modify all I wanted except for the mini basket. I don't know what's wrong but it seems to be some caching?
I disabled the caching for the basket itself in the shop config file after reading https://aimeos.org/docs/Configuration/Core/client/html/basket/cache/enable. I also cleared cache, rebuild index and all the other things I could think of, but it is just nog changing! :?

my files to overwrite it are in the right section (ext/ai-project/client/html/layouts/basket/mini), for as far as I know :D

Thanks for the help once more! :-)

Edit: forgot to mention, I also disabled the caching manager itself.
#1776 by aimeos
19 Aug 2015, 14:01
Bananamoon wrote:Soooo, I think I figured all out how the views and components and all work, I managed to modify all I wanted except for the mini basket. I don't know what's wrong but it seems to be some caching?
I disabled the caching for the basket itself in the shop config file after reading https://aimeos.org/docs/Configuration/Core/client/html/basket/cache/enable. I also cleared cache, rebuild index and all the other things I could think of, but it is just nog changing! :?

my files to overwrite it are in the right section (ext/ai-project/client/html/layouts/basket/mini), for as far as I know :D


You are right, the mini basket content is cached in the session bound to the cookie in your browser. With the configuration mentioned above, you can disable this caching. The caching of the content itself done by the cache class is something different.

The big question is now why you don't see your new template. You can clear your cookies to test if it's still a caching problem. If not, it's most likely related to the template not found. Can you tell us the result of your test?
#1778 by Bananamoon
19 Aug 2015, 14:11
aimeos wrote:
Bananamoon wrote:Soooo, I think I figured all out how the views and components and all work, I managed to modify all I wanted except for the mini basket. I don't know what's wrong but it seems to be some caching?
I disabled the caching for the basket itself in the shop config file after reading https://aimeos.org/docs/Configuration/Core/client/html/basket/cache/enable. I also cleared cache, rebuild index and all the other things I could think of, but it is just nog changing! :?

my files to overwrite it are in the right section (ext/ai-project/client/html/layouts/basket/mini), for as far as I know :D


You are right, the mini basket content is cached in the session bound to the cookie in your browser. With the configuration mentioned above, you can disable this caching. The caching of the content itself done by the cache class is something different.

The big question is now why you don't see your new template. You can clear your cookies to test if it's still a caching problem. If not, it's most likely related to the template not found. Can you tell us the result of your test?


Yes you are right! It works now :) Thank you!
#1779 by aimeos
19 Aug 2015, 14:15
Bananamoon wrote:Yes you are right! It works now :) Thank you!


What was the problem? The cache in the session? Does it appear again after you did another change?
#1791 by Bananamoon
20 Aug 2015, 13:00
aimeos wrote:
Bananamoon wrote:Yes you are right! It works now :) Thank you!


What was the problem? The cache in the session? Does it appear again after you did another change?


It must've been the caching yes. When I opened my project in an incognito window, it was all fine. So in the end I did everything the right way, just totally forgot about the session that was active in my browser itself :-)