Giter Site home page Giter Site logo

sonataextraadminbundle's People

Contributors

oskarstark avatar picoss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sonataextraadminbundle's Issues

Compatibility with SF > 4.0

Hi,

Does this bundle still active ?
It's a value added bundle and I'd like to use it but I'm afraid of code maintenance.

The main bundle used, Stof doctrine extensions, is not maintained anymore.
There is a fork that was frequently updated
https://github.com/antishov/StofDoctrineExtensionsBundle

I saw that some forkers like @devel-pa & @webetdesign have fix some compatibilities problems with, respectively, 4.2 & 4.1.1 version.

@OskarStark @picoss
So does this bundle is still reliable and do you recommend to use it ?

Thanks

Image in show view does not accept the width, the height and the prefix options

According to the 'Resources/doc/show_view_types.md` file:

Available options

protected function configureShowFields(ShowMapper $showMapper)
{
    $showMapper
        ...
        ->add('picture', 'image', [
            'prefix' => '/bundles/acme/images/', // Image url prefix, default to null
            'width' => 75, // Image width, default to 50px,
            'height' => 75, // Image height, default to 50px,
        ]);
}

But the show template, does not have the prefix, the width and the height options available.

I fix this in the Pull Request #8

gedmo/doctrine-extensions required

Hi,
https://github.com/picoss/SonataExtraAdminBundle/blob/master/Entity/Repository/SortableRepository.php#L21
This line uses a class from gedmo/doctrine-extensions but this package is not required by composer. Even if SortableRepository is not used directly by my script (I don't use sortable anywhere, just image type in $showMapper), Symfony's cache:clear checks the SortableRepository class and throws an error, because gedmo libraries don't exist:

PHP Fatal error: Class 'Gedmo\Sortable\Entity\Repository\SortableRepository' not found in /***/vendor/picoss/sonata-extra-admin-bundle/Entity/Repository/SortableRepository.php on line 21

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.