Ankündigung

Einklappen
Keine Ankündigung bisher.

CC Directory Objektdaten werden nicht dargestellt

Einklappen
Dieses Thema ist geschlossen.
X
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • CC Directory Objektdaten werden nicht dargestellt

    Hallo
    Gewisse Objektdaten werden nicht mehr im Directory «Custom Catalog Leser» angezeigt.
    Zum Test habe ich eine neues Objekt (test_zertifikate_ausbildungen) erstellt und die Datenbank-Tabelle: cc_directory aktualisiert.
    Code:
    ALTER TABLE cc_directory CHANGE test_zertifikate_ausbildungen `test_zertifikate_ausbildungen` mediumtext NULL COLLATE utf8mb4_unicode_ci;
    Das Objekt erscheint in den Artikeln und ich kann auch einen Text eingeben wird aber nicht in der Deailansicht vom «Custom Catalog Leser»

    Nachfolgend habe ich noch eine Fehlerlog-Anzeige, vielleicht ligt darin der Fehler?


    Code:
    [2024-01-11T14:01:44.082316+01:00] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_ro ute":"contao_backend","_scope":"backend","_token_c heck":true,"_controller":"Contao\\CoreBundle\\Cont roller\\BackendController::mainAction"},"request_u ri":"https://2023.swiss-kundalini-yoga.ch/contao?do=pct_customelements&ref=0aa_AzlW","method ":"GET"} []
    [2024-01-11T14:01:44.227706+01:00] php.WARNING: Warning: Constant PCT_CUSTOMELEMENTS_NOTELIST_PATH already defined {"exception":"[object] (ErrorException(code: 0): Warning: Constant PCT_CUSTOMELEMENTS_NOTELIST_PATH already defined at /xy/system/modules/pct_customelements_plugin_notelist/config/config.php:18)"} []
    [2024-01-11T14:01:44.227734+01:00] php.WARNING: Warning: Constant PCT_CUSTOMELEMENTS_NOTELIST_VERSION already defined {"exception":"[object] (ErrorException(code: 0): Warning: Constant PCT_CUSTOMELEMENTS_NOTELIST_VERSION already defined at /xy/system/modules/pct_customelements_plugin_notelist/config/config.php:19)"} []
    [2024-01-11T14:01:44.228105+01:00] php.WARNING: Warning: Constant PCT_CUSTOMELEMENTS_TAGS_PATH already defined {"exception":"[object] (ErrorException(code: 0): Warning: Constant PCT_CUSTOMELEMENTS_TAGS_PATH already defined at /xy/system/modules/pct_customelements_attribute_tags/config/config.php:19)"} []
    [2024-01-11T14:01:44.228128+01:00] php.WARNING: Warning: Constant PCT_CUSTOMELEMENTS_TAGS_VERSION already defined {"exception":"[object] (ErrorException(code: 0): Warning: Constant PCT_CUSTOMELEMENTS_TAGS_VERSION already defined at /xy/system/modules/pct_customelements_attribute_tags/config/config.php:20)"} []
    [2024-01-11T14:01:44.411675+01:00] php.WARNING: Warning: Trying to access array offset on value of type null {"exception":"[object] (ErrorException(code: 0): Warning: Trying to access array offset on value of type null at /xy/system/modules/pct_customelements_plugin_cc_frontedit/PCT/CustomCatalog/FrontEdit/Controller.php:646)"} []
    [2024-01-11T14:01:44.411705+01:00] php.WARNING: Warning: Trying to access array offset on value of type null {"exception":"[object] (ErrorException(code: 0): Warning: Trying to access array offset on value of type null at /xy/system/modules/pct_customelements_plugin_cc_frontedit/PCT/CustomCatalog/FrontEdit/Controller.php:646)"} []
    [2024-01-11T14:01:44.411734+01:00] php.WARNING: Warning: Trying to access array offset on value of type null {"exception":"[object] (ErrorException(code: 0): Warning: Trying to access array offset on value of type null at /xy/system/modules/pct_customelements_plugin_cc_frontedit/PCT/CustomCatalog/FrontEdit/Controller.php:689)"} []
    [2024-01-11T14:01:44.411756+01:00] php.WARNING: Warning: Trying to access array offset on value of type null {"exception":"[object] (ErrorException(code: 0): Warning: Trying to access array offset on value of type null at /xy/system/modules/pct_customelements_plugin_cc_frontedit/PCT/CustomCatalog/FrontEdit/Controller.php:689)"} []
    [2024-01-11T14:01:44.426449+01:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "Back end module "pct_customelements" is not defined in the BE_MOD array" at /xy/vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php line 338 {"exception":"[object] (InvalidArgumentException(code: 0): Back end module \"pct_customelements\" is not defined in the BE_MOD array at /xy/vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:338)"} []

  • #2
    Das neue Feld muss in dem Ausgabe-Template des Leser-Moduls ergänzt werden. https://forum.premium-contao-themes....late-variablen
    Standardmäßig in der Directory-Demo: customcatalog_directory_reader.html5

    -> Bitte eine updatesichere Template-Kopie anlegen auf dem gewohnten Weg: Themes > Templates > Neues Template
    Zuletzt geändert von Tim; 12.01.2024, 07:05.
    http://www.premium-contao-themes.com

    Kommentar


    • #3
      Vielen Dank, hat funktioniert :-)

      Mir ist noch aufgefallen, dass im Galerie-Template gallery_elevatezoom_nolens
      bei Klick auf ein Bild in der unteren Bildreihe das Bild nicht oben angezeigt wird,
      sondern auf die Home-Seite springt

      https://URL/#

      Kommentar


      • #4
        Inzwischen konnte ich das Problem in der elevation-zoom-gallery noch nicht lösen.
        Bei Klick auf ein Thumbnail werde ich immer auf die Home Seite weitergeleitet
        anstatt das das Bild in der Galerie angezeigt wird.

        Liegt das an einem falschen Script?

        Kommentar


        • #5
          Ich habe es mit der CC Cardealer Demo getestet, die diese Galerie von Haus aus nutzt und sehe damit keine Probleme. Bitte den Aufbau mit dieser Demo gegenprüfen. Der Link oben ist defekt.
          http://www.premium-contao-themes.com

          Kommentar


          • #6
            Ich habe den Aufbau nochmals verglichen und Festgestellt, dass ich bei «Einfügen nach...»
            eine «Unbekannte Option» habe:

            Einfügen nach...
            Unbekannte Option: cc-accommodations
            (Oben einfügen)
            (Unten einfügen)
            Inhalte
            CC: Book-Library
            Layout
            Benutzerverwaltung
            System
            Unbekannte Option: cc-accommodations

            In der Demoversion sieht es so aus:

            CC: Accommodations
            (Oben einfügen)
            (Unten einfügen)
            Inhalte
            Layout
            CC: Immo-Realty
            CC: Car-Dealer
            CC: Catalog
            CC: Accommodations
            CC: ProductCatalog
            CC: Book-Library
            CC: HotelApart
            Benutzerverwaltung

            Klicke auf die Grafik für eine vergrößerte Ansicht

Name: Directory-Konfiguration.jpg
Ansichten: 60
Größe: 50,2 KB
ID: 28458

            Kommentar


            • #7
              Es reicht vollkommen den Grundaufbau des Galerie-Feldes abzuschauen (siehe Ahang). Nichts in der CC Konfiguration ändern, damit kann die gesamte Tabelle gelöscht werden!
              https://dev4-13.premium-contao-theme...-333e298f.html
              Angehängte Dateien
              Zuletzt geändert von Tim; 15.01.2024, 12:00.
              http://www.premium-contao-themes.com

              Kommentar


              • #8
                OK, dann lass ich die «Unbekannte Option: cc-accommodations» einfach so stehen.

                Ich dachte dies wäre das Problem für die oben beschriebene Fehlfunktion.

                Bei Klick auf ein Thumbnail werde ich immer auf die Home Seite weitergeleitet
                anstatt das das Bild in der Galerie angezeigt wird.
                Wie kann ich das lösen?

                Kommentar


                • #9
                  jquery scheint den Klick nicht mehr zu unterbinden. Vielleicht ist die Kombination mit GoogleMaps auf der gleichen Seite hier ungünstig.
                  http://www.premium-contao-themes.com

                  Kommentar


                  • #10
                    Hallo Tim
                    Ich konnte das Problem lösen in dem ich bei der Galerie die «Großansicht/Neues Fenster» hinzugefügt habe.
                    Mit GoogleMaps und jquery hatte es nichts zu tun.

                    Kommentar

                    Lädt...
                    X