Skip to content

Commit

Permalink
fix: load carousels submodule where we need it.
Browse files Browse the repository at this point in the history
  • Loading branch information
crhallberg committed Jan 12, 2024
1 parent e324ac4 commit 00cfc09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php
// Add carousel library for Similar Items
$this->headScript()->appendFile('vendor/splide.min.js');
$this->headLink()->appendStylesheet('vendor/splide.min.css');
$this->headScript()->appendFile('vendor/splide.min.js');
$this->headScript()->appendFile('carousels.js');
?>

<h2><?=$this->transEsc('Similar Items')?></h2>
Expand Down
1 change: 1 addition & 0 deletions themes/bootstrap3/templates/channels/channelList.phtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
$this->headLink()->appendStylesheet('vendor/splide.min.css');
$this->headScript()->appendFile('vendor/splide.min.js');
$this->headScript()->appendFile('carousels.js');
$this->headScript()->appendFile('channels.js');
$this->jsTranslations()->addStrings([
'channel_browse' => 'channel_browse',
Expand Down

0 comments on commit 00cfc09

Please sign in to comment.