Code Monkey home page Code Monkey logo

Comments (6)

rande avatar rande commented on June 7, 2024

Can you check the instruction here : http://sonata-project.org/bundles/user/master/doc/reference/installation.html ?

from sonatauserbundle.

NeglectedGoldfish avatar NeglectedGoldfish commented on June 7, 2024

Hi, everything seems OK, although I may be doing things wrong here:

public function registerBundles()
{
$bundles = array(
...
new FOS\UserBundle\FOSUserBundle(),
new Sonata\UserBundle\SonataUserBundle('FOSUserBundle'),
new Application\Sonata\UserBundle\ApplicationSonataUserBundle(),
...
}

Can you advise?

Thanks again,

Fish

from sonatauserbundle.

pulse00 avatar pulse00 commented on June 7, 2024

how did you solve it? the installation instructions don't really say anything about overriding the admin_orm.xml and mine is also not being parsed.

from sonatauserbundle.

NeglectedGoldfish avatar NeglectedGoldfish commented on June 7, 2024

Hi, I didn't solve it. I tried everything, but nothing worked.

Any better success at your end?

from sonatauserbundle.

pulse00 avatar pulse00 commented on June 7, 2024

if you're trying to override the Admin classes, just put a class with the same name in the generated Application bundle, e.g.: Application\Sonata\UserBundle\Admin\Entity\UserAdmin.php

from sonatauserbundle.

 avatar commented on June 7, 2024

I was able to override admin_orm.xml in app/Resources/SonataUserBundle/config/admin_orm.xml but since an update it's not working anymore. I've tried in app/Resources/config/, in Application/Sonata/UserBundle/Resources/config/admin_orm.xml too but it's not working either.

from sonatauserbundle.

Related Issues (20)

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.