OK, somehow I had the impression it was posted in another forum (3.3 Support?). Time to give my eyes a rest.
OK, somehow I had the impression it was posted in another forum (3.3 Support?). Time to give my eyes a rest.
Appears to be an easy fix. Tables.yml and services.yml seem to need single quotes added in a few places. Have not tested it with the changes myself yet, but will do so over the next couple of days (when I get around to updating a test site to 3.3, which won't be tonight, coz I'm knackered).Cubguy501 wrote: Mon Mar 02, 2020 9:20 pm Tried this on my test forum 3.3 and get the following errorCode: Select all
phpBB encountered an error building the container due to an installed extension. For this reason, all extensions have been temporarily disabled. Please try purging your forum cache. All extensions will automatically be re-enabled once the container error is resolved. If this error continues, please visit phpBB.com for support. Exception: The file "/homepages/26/d340719664/htdocs/snazoo/ext/dmzx/buttonmenu/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 7 (near "- @service_container"). #0 /homepages/26/d340719664/htdocs/snazoo/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/homepages/26/d...') #1 /homepages/26/d340719664/htdocs/snazoo/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml') #2 /homepages/26/d340719664/htdocs/snazoo/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services(Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder)) #3 /homepages/26/d340719664/htdocs/snazoo/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder)) #4 /homepages/26/d340719664/htdocs/snazoo/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #5 /homepages/26/d340719664/htdocs/snazoo/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #6 /homepages/26/d340719664/htdocs/snazoo/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #7 /homepages/26/d340719664/htdocs/snazoo/phpbb/di/container_builder.php(203): Symfony\Component\DependencyInjection\ContainerBuilder->compile() #8 /homepages/26/d340719664/htdocs/snazoo/common.php(115): phpbb\di\container_builder->get_container() #9 /homepages/26/d340719664/htdocs/snazoo/adm/index.php(23): require('/homepages/26/d...') #10 {main}
Code: Select all
imports:
- { resource: tables.yml }
services:
dmzx.buttonmenu.listener:
class: dmzx\buttonmenu\event\listener
arguments:
- @service_container
- @config
- @template
- @user
- @dbal.conn
- %dmzx.buttonmenu.table.menu_buttons%
- %dmzx.buttonmenu.table.menu_colors%
tags:
- { name: event.listener }
Code: Select all
imports:
- { resource: tables.yml }
services:
dmzx.buttonmenu.listener:
class: dmzx\buttonmenu\event\listener
arguments:
- '@service_container'
- '@config'
- '@template'
- '@user'
- '@dbal.conn'
- '%dmzx.buttonmenu.table.menu_buttons%'
- '%dmzx.buttonmenu.table.menu_colors%'
tags:
- { name: event.listener }
Code: Select all
parameters:
dmzx.buttonmenu.table.menu_buttons: %core.table_prefix%menu_buttons
dmzx.buttonmenu.table.menu_colors: %core.table_prefix%menu_colors
Code: Select all
dmzx.buttonmenu.table.menu_buttons: '%core.table_prefix%menu_buttons'
dmzx.buttonmenu.table.menu_colors: '%core.table_prefix%menu_colors'
Code: Select all
@media all and (min-width : 350px) and (max-width : 700px) {
#menu {
max-width: 700px !important;
min-width: 350px !important;
width: auto;
height: auto;
margin-left: -5px;
margin-right: -5px;
position: relative;
border-radius: 0px;
}
#top-search {
display:none;
}
}
Thank you but what about the html change thats needed ?.ssl wrote: Sat Jan 09, 2021 6:42 am Hi
Add this code at the end of the CSS file:Code: Select all
@media all and (min-width : 350px) and (max-width : 700px) { #menu { max-width: 700px !important; min-width: 350px !important; width: auto; height: auto; margin-left: -5px; margin-right: -5px; position: relative; border-radius: 0px; } #top-search { display:none; } }