Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    remi13131
    @remi13131
    Doesn't jsonServerRestClient have been upgraded at the same time ? Do I need to manually edit it ?
    Abouzar Kamaee
    @A-Kamaee
    I've solved problem with changing ng-admin source code and define another abstract state (ng-login).
    remi13131
    @remi13131
    Okay my question is already documented if someone is facing the same issue : marmelab/admin-on-rest#425
    remi13131
    @remi13131
    Does someone has an idea about when admin-on-rest 0.9.1 will be out ? (approximately)
    remi13131
    @remi13131
    Sorry dumb question, it is already released... Problem fixed !
    remi13131
    @remi13131
    Hi does someone know how can i change the identifier for a given entity in Admin-On-Rest ?
    I know it was possible with NGAdmin as written there https://github.com/marmelab/ng-admin/blob/master/doc/API-mapping.md#identifier
    But i couldn't find an equivalent in Admin-On-rest doc :worried:
    I had to add a conversion in my api at each request like $_GET['id_user'] = $_GET['id'] to understand what Admin-On-Rest requests, and that would be much easier the other way !
    remi13131
    @remi13131
    sorry for spamming this thread...
    Darren Chiu
    @darrenchiu
    newbie to ng-admin, just curious if there are angular2 version of it?
    Gareth Sylvester-Bradley
    @garethsb
    This conversation seems to move in fits and starts...so I'm just going to bump my question... can any of the ng-admin developers point me in the right direction to solve marmelab/ng-admin#1316 Thanks!
    Srinivas Kommu
    @srinivaskommu
    @Phocea ..Did you solve the issue. - on reference filed hyperlink its taking to editView instead of showView.
    Greg
    @Phocea
    @darrenchiu no, no angular2 version of it planned
    @srinivaskommu nope, this would need to be patched in the source code to allow for a .detailLinkRoute('show') to be allowed on those field
    ajordanduh
    @ajordanduh
    Are there any closed Github tickets/issues that detail how to create a custom error page?
    I am using ng-admin v0.9 beta
    hannes
    @escapedcat
    Hi, anyone knows if it's possible to use entities as the content (options) of a selectbox in a custom page? If so what would be the "most straight forward" to do this? Using choices or maybe reference although I am not clear how to achieve this?
    hannes
    @escapedcat
    Or maybe easier. How to use entities in a custom page?
    Gareth Sylvester-Bradley
    @garethsb
    Good question, @escapedcat. I'm interested in the answer too!
    hannes
    @escapedcat
    :tada:
    @garethsb marmelab/ng-admin#1316
    ah, i see :)
    I think my case is a bit different. Still wouldn't be sure how to use custom types in a custom page
    Gareth Sylvester-Bradley
    @garethsb
    No, that's a different issue. I'm also interested in the answer to your question :-)
    hannes
    @escapedcat
    anyone? ;(
    I dislike the idea of just creating my own controller/service, do API calls and use that data instead of what ng-admin might be able to provide already.
    zhxbwin
    @zhxbwin
    amazing dashboard, but I haven't see any chart? NO chart inside?
    Tianzuo.Zhou
    @ztz0223

    Hello everyone.
    My site is build from the MeanJS, and I want to integrate the ng-admin as a part of my site. But I failed.
    And I did a test like this:

    // Init the application configuration module for AngularJS application
    var ApplicationConfiguration = (function () {
        // Init module configuration options
        var applicationModuleName = 'ang_html';
        var applicationModuleVendorDependencies = ['ui.router', 'ng-admin'];
        // Add a new vertical module
        var registerModule = function (moduleName, dependencies) {
            // Create angular module
            angular.module(moduleName, dependencies || []);
            // Add the module to the AngularJS configuration file
            angular.module(applicationModuleName).requires.push(moduleName);
        };
        return {
            applicationModuleName: applicationModuleName,
            applicationModuleVendorDependencies: applicationModuleVendorDependencies,
            registerModule: registerModule
        };
    })();
    angular.module(ApplicationConfiguration.applicationModuleName, ApplicationConfiguration.applicationModuleVendorDependencies);
    angular.element(document).ready(function () {
        angular.bootstrap(document, [ApplicationConfiguration.applicationModuleName])
    });
    ApplicationConfiguration.registerModule('newApp1', []);
    angular
        .module('newApp1')
        .config(routeConfig)
        .config(['NgAdminConfigurationProvider', function (NgAdminConfigurationProvider) {
            // create the admin application
            var admin = NgAdminConfigurationProvider.application('My First Admin')
                .baseApiUrl('/xxx');
            NgAdminConfigurationProvider.configure(admin);
        }]);
    routeConfig.$inject = ['$stateProvider'];
    function routeConfig($stateProvider) {
        $stateProvider
            .state('order', {
                abstract: true,
                url: '/order',
                template: '<ui-view/>'
            })
            .state('order.admin', {
                url: '',
                template: '<div ui-view="ng-admin">AAAA</div>',
                data: {
                }
            });
    }

    This does not work.
    And I created a repo for my test: test ng -admin can someone help me ?

    Tianzuo.Zhou
    @ztz0223
    Any idea will be appreciated!
    Thanks.
    Jerod Fritz
    @centogram
    Does anyone know if ng-admin supports drag and drop reordering of items in a collection via a weight field or something similar?
    ajordanduh
    @ajordanduh
    @Phocea Can we set a limit on the number of objects retrieved from the response of a REST API call? For example, if I only want to retrieve 20 objects from the response at a time how can this be done with a reference?
    jlabarintos
    @jlabarintos
    how can i specify width of the table columns in listView?
    Olga Maciaszek-Sharma
    @OlgaMaciaszek
    Hello; I have an issue regarding adding default headers with Restangular; I need to add basic auth for my PAI. After checking up the docs, I have added the following code to admin.js:
    taskDevelopers.config(['RestangularProvider', function(RestangularProvider) {
        var login = 'admin',
            password = 'xxx',
            token = window.btoa(login + ':' + password);
        RestangularProvider.setDefaultHeaders({'Authorization': 'Basic ' + token});
    }]);
    However, when the request is actually being done, the header is not being added
    These are all the headers that get added:
    OPTIONS /agencies?_page=1&_perPage=30&_sortDir=DESC&_sortField=id HTTP/1.1
    Host: localhost:8080
    User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Access-Control-Request-Method: GET
    Access-Control-Request-Headers: authorization
    Origin: null
    Connection: keep-alive
    I would be very grateful for any suggestions regarding how to debug this issue
    Olga Maciaszek-Sharma
    @OlgaMaciaszek
    I've solved the issue, so not important anymore
    Al Falah Taieb
    @AlFalahTaieb
    Hi is there someone please
    Bhargav-Narayan
    @Bhargav-Narayan
    Hi, I have an app built on sails.js. I'm very new to angular2. Now I want to integrate ng-admin using angular2. Is there any plugin like ng-admin for angular 2 also ?
    Lucas
    @lucassantanna
    hey @Bhargav-Narayan https://github.com/akveo/ng2-admin
    am-konstantin
    @am-konstantin
    Hey! Im currently using ng-admin and im trying to implement a simple search filter. I used the documentation to implement it but after typing in something it just fires a new request with the search text in it but it does not search on the clientside. Do I have to implement it on serverside or is there anyway to make it work on clientside only? Thanks for helping me
    Jacob Rief
    @jrief
    is there a way to attach an entity to an editionView without a listView? Say you want to edit a sigleton.
    Dmitry Demenchuk
    @mrded
    Quick question. Will ng-admin become unsupported, in favour to admin-on-rest? Thanks.
    Srinivas Kommu
    @srinivaskommu
    @am-konstantin , search will make request to server with values filled in filters. You need to have api to support search.
    Angel Santiago Silva Borja
    @angelsilva94
    hi
    Paulo Brito
    @paulorsbrito
    Hi! There's a way to post the full related object? For example, I need a full post object when a post a comment, not just the post id.
    Qiming Liu
    @qooroo
    +1 for the above, alternately: how do you post with another property of the object other than the id?
    .targetField works for display, but I'd like to configure it to post as well
    Qiming Liu
    @qooroo
    looks like .transform is designed to handle this, but I want it for a related entity within a creation view
    and I don't want to override the global identity for that related entity
    Rajesh Rai
    @MrRajeshRai
    What is the best login module for ng-admin?