Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dialog-Admin

    Scheduled Pinned Locked Moved Entwicklung
    5 Posts 3 Posters 481 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cherifC Offline
      cherif
      last edited by

      Hallo ,
      ich habe eine neue Kategorie angelegt/programmiert. Ein DialogPlusFeld aus dieser Kategorie lässt sich aber nicht unter Dialog-Admin erscheinen und verwalten.
      Gibt es eine Möglichkeit diese einzurichten ?

      9f9cff3e-474c-46c7-b67a-8c05a2a2097b-image.png

      Danke im voraus

      1 Reply Last reply Reply Quote 0
      • L Offline
        leobaer
        last edited by

        Hi

        Sollte unter

        Dialog-Admin > Custom Dialog+

        zu finden sein.

        Grüße
        Leo

        cherifC 1 Reply Last reply Reply Quote 0
        • cherifC Offline
          cherif @leobaer
          last edited by cherif

          @leobaer danke, es geht aber nicht um eine Custom Kategorie

          1 Reply Last reply Reply Quote 0
          • cherifC cherif deleted this topic on
          • cherifC cherif restored this topic on
          • LFischerL Offline
            LFischer
            last edited by LFischer

            Hallo @cherif

            im Falle einer eigenen programmierten Kategorie und dazugehörigem Dialog+ Feld muss das Feld einmalig in deinem (Add-on?) Code registriert werden mittels:

            isys_register::factory('additional-dialog-admin-tables')
                ->set('<deine tabelle>');
                ->set('isys_maintenance_type'); // <-- z.B. so
            

            Dieser Code ist am besten in der init.php deines Add-ons aufgehoben damit er von i-doit immer gefunden wird 🙂

            Alternativ sollte dein Dialog+ Feld automatisch gefunden werden wenn dessen Datenbanktabelle auf _unit, _type, _manufacturer oder _model endet.

            Um dein Feld im Dialog Admin zu "benennen" musst du in deine Übersetzungsdatei den Tabellennamen als KEY nehmen, also z.B.:

            return [
               ...
               'isys_maintenance_type' => 'Wartung: Wartungstyp',
               ...
            ];
            

            In diesem Beispiel wäre "Wartung" der Ordner name und "Wartungstyp" der Feldname im Navigationsbaum 🙂

            VG Leo

            cherifC 1 Reply Last reply Reply Quote 0
            • cherifC Offline
              cherif @LFischer
              last edited by

              Hey @LFischer
              du bist ein Held👍
              Das hat funktioniert. Vielen Dank für Hilfe
              Jetzt ist Dialog+ Feld in der init.php registriert, und danach funktioniert...🙂

              Viele Grüße
              Cherif

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post