Ankündigung

Einklappen
Keine Ankündigung bisher.

Update: CustomElements 1.6.4, CustomCatalog 1.4.10

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Update: CustomElements 1.6.4, CustomCatalog 1.4.10

    CustomElements
    • Fixed: Behebt ein paar Probleme im Mehrfach Bearbeiten/Überschreiben Modus
    • Fixed: Behebt den PHP Fehler, dass die tl_pct_customelements Tabelle fehlt bei Neuinstallationen ausserhalb des Installationstools
    • Fixed: Behebt einen PHP Fehler beim Hinzufügen neuer Benutzerrechte
    • Hinzugefügt: Die Werte aus optionalen Feldern (z.B. Bildgröße oder Bildunterschrift) werden jetzt ebenfalls im CE Widget gespeichert. (optional. Systemwartung > Wizard update, updatet alle existierenden Widgets um diese Werte)


    Updatehinweis:
    • Das Modul kann wie gewohnt direkt ersetzt werden. Der interne Cache sollte geleert oder deaktivert sein.
    • Ein Datenbankupdate ist nicht nötig


    Changelog:
    Code:
    ### 1.6.4
    Fixed: Load the DataContainer object in editAll,overrideAll mode
    Fixed: A php error when no CustomElements are selected in user rights
    Update: Check if table tl_pct_customelements exists in SystemIntegration
    Update: The IncludeElement renderCallback method recreates an unnecessary front end template object
    Update: Do not overwrite the field labels for contao default fields in editAll,overrideAll mode
    Update: Store option fields in wizard data
    Update: Update the WizardUpdater to store the optional field values

    CustomCatalog
    • Fixed: Behebt den SQL Fehler fehlender Felder, wenn Sichtbare Felder gewählt sind, die optionale Felder generieren
    • Fixed: Behebt einen Fehler bei der Verknüpfung zu Kind-Tabellen im Backend
    • Fixed: Unterstützt werden jetzt auch Alias als PID Parameter für die Darstellung von Kind-Liste / tl_content Einträgen in Leser-Seiten
    • Fixed: Die Auswählung von Filterwerten respektiert nun auch Spracheinträge
    • Hinzugefügt: Eindeutige Kommentare und direkte Kommentar-Unterstützung in Liste- und Leser-Templates
    • Hinzugefügt: Wichtige Systemeinstellungen können jetzt über Contaos Systemeinstellung aktiviert werden. Eine CustomCatalog Palette wurde hinzugefügt


    Updatehinweis:
    • Das Modul kann wie gewohnt direkt ersetzt werden. Der interne Cache sollte geleert oder deaktivert sein.
    • Ggf. kann einmal der JSON Cache geleert werden: Systemwartung > CustomCatalog json DCA Dateien löschen, damit diese direkt frisch sind
    • Ein Datenbankupdate ist nicht nötig


    Changelog:
    Code:
    ### 1.4.10
    Fixed: A php error that might occur in the Pagetree Attribute.
    Fixed: Do not process optional values for the checkboxMenu attribute
    Fixed: Check if optional field has been created before adding to visibles stack (#306)
    Fixed: Never return empty or strlen < 1 filter values in the $objFilter->getValue() methode
    Fixed: Connecting to a childTable might run into a php error
    Fixed: Fetching content elements when pid GET parameter is an alias
    Added: Important settings can now be applied directly through the system settings
    Added: Add comments to any customcatalog template with the RowTemplate::getComments method
    Added: Ignore list for attributes that use the option column for real values not for generic fields ($GLOBALS['PCT_CUSTOMCATALOG']['ignoreOptionFields'])
    Update: Pass deserialized values to the renderCallback methode
    Update: Comments are now unique for the entry not for the config (customcatalog) id. Fallback: $GLOBALS['PCT_CUSTOMCATALOG']['SETTINGS'][MY_TABLE]['uniqueComments'] = false
    Update: Delete json file and rebuild it for tl_pct_customelement_attribute oncut_callback
    Update: Add a back end body class with the current back end theme name and adjust the backend styles with it
    Update: Showing the back end database update alert constantly
    Update: Respect language records in value count for filters (#309)
    Update: Do not ampersand quickmenu links. It might causes errors
    Update: More backend performance updates
    Zuletzt geändert von Tim; 19.11.2015, 16:18.
    http://www.premium-contao-themes.com

  • #2
    Falls jemand folgenden Fehler erhält (hotfix 1.4.10.1 is on the way)

    PHP-Code:
    Fatal errorCan't use method return value in write context in /system/modules/pct_customelements_plugin_customcatalog/config/config.php on line 93 
    http://forum.premium-contao-themes.c...c-1-4-5-1-4-10
    http://www.premium-contao-themes.com

    Kommentar


    • #3
      Hallo Tim,
      ist das Update Custoelements speziel für den Catalog ?

      Ich erhalte folgenden Fehler (Quantum2):

      Warning: class_exists() expects parameter 1 to be string, array given in C:\xampp\htdocs\xxxxx\system\modules\pct_customele ments\PCT\CustomElements\Core\Attribute.php on line 188

      #0 [internal function]: __error(2, 'class_exists() ...', 'C:\\xampp\\htdocs...', 188, Array)
      #1 C:\xampp\htdocs\xxxxx\system\modules\pct_customele ments\PCT\CustomElements\Core\Attribute.php(188): class_exists(Array)
      #2 C:\xampp\htdocs\xxxxx\system\modules\pct_customele ments\PCT\CustomElements\Core\SystemIntegration.ph p(101): PCT\CustomElements\Core\Attribute->generate()
      #3 C:\xampp\htdocs\xxxxx\system\initialize.php(243): PCT\CustomElements\Core\SystemIntegration->initSystem()
      #4 C:\xampp\htdocs\xxxxx\index.php(16): require('C:\\xampp\\htdocs...')
      #5 {main}


      Fatal error: Uncaught exception Exception with message Cannot load class or class not found: Array thrown in C:\xampp\htdocs\xxxxx\system\modules\pct_customele ments\PCT\CustomElements\Core\Attribute.php on line 190

      #0 C:\xampp\htdocs\xxxxx\system\modules\pct_customele ments\PCT\CustomElements\Core\SystemIntegration.ph p(101): PCT\CustomElements\Core\Attribute->generate()
      #1 C:\xampp\htdocs\xxxxx\system\initialize.php(243): PCT\CustomElements\Core\SystemIntegration->initSystem()
      #2 C:\xampp\htdocs\xxxxx\index.php(16): require('C:\\xampp\\htdocs...')
      #3 {main}

      Hier offline.

      Online wird die Seite wohl aufgebaut, jedoch sind die Customelents völlig durcheinander, z.B. ist der Inhalt eines Bild/Text-Elementes welches unterhalt des Sliders sein soll, mitten im Headerslider.

      Gruß ordix

      Kommentar


      • #4
        Nein, es ist ein allgemeines Update.

        Dieser Fehler kann nur entstehen, wenn du eine Attribut-Konfiguration hast, die anstelle der Klasse als String einen Array übergibt. Hast du eigene Attribute mal erstellt?

        Hier ein Beispiel des normalen Text-Attributes:

        Korrekt angelegtes Attribut:
        PHP-Code:
        $GLOBALS['PCT_CUSTOMELEMENTS']['ATTRIBUTES']['text'] = array
        (
                
        'class'        => 'PCT\CustomElements\Attributes\Text',
         ); 
        Falsch angelegtes Attribut:
        PHP-Code:
        $GLOBALS['PCT_CUSTOMELEMENTS']['ATTRIBUTES']['text'] = array
        (
                
        'class'        => array('PCT\CustomElements\Attributes\Text'),
         ); 
        http://www.premium-contao-themes.com

        Kommentar


        • #5
          NO, definiv nicht.

          Hab jetzt nochmal komplett neu aufgesetzt auf Contao 3.5 mit den Quantum Beispieldateien, funzt einwandfrei.
          Die alte Inst. wurde aus Conato 3.2 immer upgedatet, ebenso die online-Version. Ist bei den Updates evtl. was schiefgelaufen?

          Ordix

          Kommentar


          • #6
            Hallo Tim
            Hab als Neuling Fragen:
            Gibt es eine Schritt-für Schritt-Anleitung für das Update der Custom-Elements?
            Wie funktioniert ein Theme-Update generell?

            Herzlichen Dank für die Information :-)
            Gruss Tri

            Kommentar


            • #7
              Zitat von tri Beitrag anzeigen
              Hallo Tim
              Hab als Neuling Fragen:
              Gibt es eine Schritt-für Schritt-Anleitung für das Update der Custom-Elements?
              Wie funktioniert ein Theme-Update generell?

              Herzlichen Dank für die Information :-)
              Gruss Tri
              Modul-Updates und Theme-Updates muss man trennen.

              Modul-Updates sind generell ein einfaches Ersetzen des Modulordners.
              Ein Theme-Update ist primär den cto_layout Ordner abgleichen mit dem jeweils aktuellen.
              http://www.premium-contao-themes.com

              Kommentar

              Lädt...
              X