Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hschottm committed Nov 13, 2018
1 parent 2e26455 commit 71b22c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -13,7 +13,8 @@
"require":{
"php": ">=5.6.0",
"contao/core-bundle":"~4.4",
"contao/faq-bundle": "^4.4"
"contao/faq-bundle": "^4.4",
"symfony/framework-bundle": "^3.3"
},
"require-dev": {
"contao/manager-plugin": "^2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/ContaoManager/Plugin.php
Expand Up @@ -13,8 +13,8 @@

namespace Hschottm\FaqExtensionsBundle\ContaoManager;

use Hschottm\FaqExtensionsBundle\HschottmFaqExtensionsBundle;
use Contao\CoreBundle\ContaoCoreBundle;
use Hschottm\FaqExtensionsBundle\HschottmFaqExtensionsBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/contao/dca/tl_faq.php
@@ -1,5 +1,7 @@
<?php

System::loadLanguageFile('tl_content');

$GLOBALS['TL_DCA']['tl_faq']['palettes']['default'] = str_replace('noComments', 'noComments,recommended', $GLOBALS['TL_DCA']['tl_faq']['palettes']['default']);

$GLOBALS['TL_DCA']['tl_faq']['fields']['viewcount'] = array(
Expand Down

0 comments on commit 71b22c8

Please sign in to comment.