Skip to content

Remove the empty button in the data component type 'table' #16834

Answered by blankse
Geni2 asked this question in Q&A / Support
Discussion options

You must be logged in to vote

@Geni2 You can hide it with css:

  1. Create a src/Bundle/CustomAdminBundle/CustomAdminBundle.php file:
<?php

namespace App\Bundle\CustomAdminBundle;

use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\PimcoreBundleAdminClassicInterface;
use Pimcore\Extension\Bundle\Traits\BundleAdminClassicTrait;

class CustomAdminBundle extends AbstractPimcoreBundle implements PimcoreBundleAdminClassicInterface
{
    use BundleAdminClassicTrait;

    public function getCssPaths(): array
    {
        return [
            '/bundles/customadmin/css/admin.css',
        ];
    }
}
  1. Activate the bundle in config/bundles.php
<?php

return [
    \App\Bundle\CustomAdminBundle\Custo…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@blankse
Comment options

Answer selected by Geni2
@Geni2
Comment options

@blankse
Comment options

@Geni2
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants