Modify the basket/mini layout
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!
-
- Posts: 26
- Joined: 22 Jun 2015, 09:12
Modify the basket/mini layout
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/C ... che/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
Thanks for the help once more!
Edit: forgot to mention, I also disabled the caching manager itself.
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/C ... che/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
Thanks for the help once more!
Edit: forgot to mention, I also disabled the caching manager itself.
Re: Modify the basket/mini layout
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.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/C ... che/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
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?
-
- Posts: 26
- Joined: 22 Jun 2015, 09:12
Re: Modify the basket/mini layout
Yes you are right! It works now Thank you!aimeos wrote: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.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/C ... che/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
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?
Re: Modify the basket/mini layout
What was the problem? The cache in the session? Does it appear again after you did another change?Bananamoon wrote:Yes you are right! It works now Thank you!
-
- Posts: 26
- Joined: 22 Jun 2015, 09:12
Re: Modify the basket/mini layout
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 itselfaimeos wrote:What was the problem? The cache in the session? Does it appear again after you did another change?Bananamoon wrote:Yes you are right! It works now Thank you!