-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 74cb1dd
Showing
11 changed files
with
1,070 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# contao-baguettebox | ||
Baguettebox-Integration for Contao |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name":"stefansl/contao-baguettebox", | ||
"description":"Baguettebox for Contao", | ||
"type": "contao-bundle", | ||
"require": { | ||
"php": ">=7.1", | ||
"contao/core-bundle":"~4.4" | ||
}, | ||
"require-dev": { | ||
"contao/manager-plugin": "^4.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Clickpress\\BaguetteboxBundle\\": "src/" | ||
} | ||
}, | ||
"license": "LGPL-3.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Stefan Schulz-Lauterbach", | ||
"email": "ssl@clickpress.de" | ||
} | ||
], | ||
"minimum-stability": "stable" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of BaguetteBoxBundle. | ||
* | ||
* (c) Stefan Schulz-Lauterbach | ||
* | ||
* @license LGPL-3.0-or-later | ||
*/ | ||
|
||
namespace Clickpress\BaguetteboxBundle; | ||
|
||
use Symfony\Component\HttpKernel\Bundle\Bundle; | ||
|
||
class ClickpressBaguetteboxBundle extends Bundle | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of ClickpressBaguetteboxBundle. | ||
* | ||
* (c) Stefan Schulz-Lauterbach | ||
* | ||
* @license LGPL-3.0-or-later | ||
*/ | ||
|
||
namespace Clickpress\BaguetteboxBundle\ContaoManager; | ||
|
||
use Clickpress\BaguetteboxBundle\ClickpressBaguetteboxBundle; | ||
use Contao\CoreBundle\ContaoCoreBundle; | ||
use Contao\ManagerPlugin\Bundle\BundlePluginInterface; | ||
use Contao\ManagerPlugin\Bundle\Config\BundleConfig; | ||
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; | ||
|
||
class Plugin implements BundlePluginInterface | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public function getBundles(ParserInterface $parser) | ||
{ | ||
return [ | ||
BundleConfig::create(ClickpressBaguetteboxBundle::class) | ||
->setLoadAfter([ContaoCoreBundle::class]), | ||
]; | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
// Add the baguettebox style sheet | ||
$GLOBALS['TL_CSS'][] = 'bundles/clickpressbaguettebox/baguetteBox.css|static'; | ||
|
||
?> | ||
|
||
<script src="bundles/clickpressbaguettebox/baguetteBox.min.js"></script> | ||
<script> | ||
baguetteBox.run('.ce_image a',{ | ||
buttons: false | ||
}); | ||
baguetteBox.run('.ce_gallery',{ | ||
buttons: true | ||
}); | ||
</script> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.