Git Product home page Git Product logo

Comments (7)

Mendbayar avatar Mendbayar commented on July 29, 2024

such as dashboard

from adminthemebundle.

Mendbayar avatar Mendbayar commented on July 29, 2024

2/2 FileLoaderLoadException: Cannot import resource "." from "D:/Bitnami/wampstack-5.4.26-2/apache2/htdocs/srd-last/app/cache/dev/assetic/routing.yml". (Unable to find file "@AvanzuAdminThemeBundle/Resources/public/vendor/jquery/dist/jquery.js".)

from adminthemebundle.

Mendbayar avatar Mendbayar commented on July 29, 2024

1/2 InvalidArgumentException: Unable to find file "@AvanzuAdminThemeBundle/Resources/public/vendor/jquery/dist/jquery.js".

from adminthemebundle.

Mendbayar avatar Mendbayar commented on July 29, 2024

when i loading twig template, above 2 errors occured what does it mean ?

from adminthemebundle.

avanzu avatar avanzu commented on July 29, 2024

To use the template, you just have to extend your view from the admin theme view and use blocks to set your project specific contents. just like described here

about the exception
did you app/console avanzu:admin:fetch-vendor and app/console assets:install ?
Afterwards, there should be some directories in vendor/avanzu/admin-theme-bundle/Avanzu/AdminThemeBundle/Resources/public/vendor

namely the following:

  • AdminLTE
  • bootbox
  • jquery
  • momentjs
  • backbone
  • bootflat
  • jquery-ui
  • pickadate
  • backbone.babysitter
  • bootstrap
  • marionette
  • spinjs
  • backbone.wreqr
  • holderjs
  • modernizr
  • underscore

Without these scripts, the theme won't work.

from adminthemebundle.

aftabnaveed avatar aftabnaveed commented on July 29, 2024

though this issue is closed, even though I run above commands but I still get the exception, I am using 1.3 version.

I get this error when I execute the command app/console avanzu:admin:fetch-vendor

[Error] bower bootflat#* invalid-meta bootflat is missing "main" entry in bower.json
[Error] bower bootflat#* invalid-meta bootflat is missing "ignore" entry in bower.json
[Progress] bower bootflat#* resolved git://github.com/flathemes/bootflat.git#affdd96590
[Error] bower ECONFLICT Unable to find suitable version for underscore

from adminthemebundle.

2ndkauboy avatar 2ndkauboy commented on July 29, 2024

The avanzu:admin:fetch-vendor command fails, as there are inaccurate version numbers in the bower.json file, which results in a confilct for underscore.

@avanzu: Please do not just use * as a version number for the dependencies. This will fail quite often. For underscore, you might use something like ~1.8 or similar.

@aftabnaveed: To get the bundle running, use the following:
cd vendor/avanzu/admin-theme-bundle/Resources/bower/
bower install

You should than be asked for the version number, you want to use. Just select the option with the largest version number (in my case, this was 6).

from adminthemebundle.

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.