From: Vincent Vanwaelscappel Date: Thu, 8 Jan 2026 17:21:14 +0000 (+0100) Subject: wip #7898 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=60d77a418061dadbaf8b6da30367f5253eb515e4;p=fluidbook-toolbox.git wip #7898 @0.5 --- diff --git a/app/Fluidbook/Compiler/Cart.php b/app/Fluidbook/Compiler/Cart.php index c6b81591c..17230c9fa 100644 --- a/app/Fluidbook/Compiler/Cart.php +++ b/app/Fluidbook/Compiler/Cart.php @@ -795,6 +795,9 @@ trait Cart case 'BastideResahGuest': $this->writeBastideResahGuestCart(); break; + case 'Kimplay': + $this->writeKimplayCart(); + break; default: break; } @@ -885,4 +888,10 @@ trait Cart $this->setLinksAndRuliers($links, $rulers); } + public function writeKimplayCart() + { + $this->lessVariables['import-cart-styles'] = 'kimplay'; + $this->addJsLib('kimplay', 'js/libs/fluidbook/cart/fluidbook.cart.kimplay.js'); + } + } diff --git a/app/Models/Traits/PublicationSettings.php b/app/Models/Traits/PublicationSettings.php index e6186be87..d7ae55234 100644 --- a/app/Models/Traits/PublicationSettings.php +++ b/app/Models/Traits/PublicationSettings.php @@ -1480,6 +1480,7 @@ trait PublicationSettings 'Bastide' => 'Bastide', 'BastideResah' => 'Bastide Resah', 'BastideResahGuest' => 'Bastide Resah (invité)', + 'Kimplay' => 'Kim\'Play', ], 'default' => 'com.fluidbook.player.basket.BasketManager', ]);