Wichtigste Neuerungen:
- Neu: "Protection" Attribut und "Protection" Filter. Einträge Benutzer- oder Benutzergruppen zuordnen bzw. Mitglieder- oder Mitgliedergruppen (per Filter)
- Fixed: Fehlende source Abfrage in Maintenance:: purgeLanguageEntries() (Dank an tl_rising)
- Fixed: Fehlende source Abfrage in Maintenance:: createLanguageForBaseEntries() und die SQL Abfrage hat frühe CC Einträge nicht lokalisiert (Dank an tl_rising)
- Fixed: Fehlender bearbeiten Button wenn mehrere CCs im Einsatz sind, die tl_content als Kindtabelle haben
- Fixed: Filter-Problem bei mehreren CCs auf einer Leser-Seite
- Fixed: In einigen fällen können verwaiste Attribute im DCA array aufgetreten sein
- Das Modul kann wie gewohnt direkt ersetzt werden. Der interne Cache sollte geleert oder deaktivert sein.
- Ein Datenbankupdate ist nicht nötig
- Das Update wird jedem CustomCatalog Nutzer empfehlen. Bitte vorherige Updatehinweise beachten, wenn Update von Version < 1.4.x
Code:
### 1.6.2 Fixed: Added missing tl_pct_customelement_language.source check in Maintenance::purgeLanguageEntries() Fixed: Added missing tl_pct_customelement_language.source check in Maintenance::createLanguageForBaseEntries() and make the query less strict Fixed: CustomElement Attribute: Widget fetches wrong data after duplicating data when switching to a new language record (#398) Added: tl_pct_customelement_attribute.ref_attribute [eval]['includeAllGroupsets'] true/false to show all attributes in reference attribute selection or just the ones in default Added: config.php: $GLOBALS['PCT_CUSTOMCATALOG']['deleteLanguageRecordOnBaseRecordDelete'] = true; whether delete related language records when deleting a base record or not. Update: Load the attribute definition when filling the cache and generate the attribute Update: Skip the cache building when either the customelement or customcatalog object not exist Update: Remove $strLanguage parameter from Multilanguage::isBaseRecord() ### 1.6.1 Fixed: In some cases the DCA might contain old or revised attributes coming from old cached data (#394) Added: Caching for database results (#394) Added: AttributeFactory::fetchAllByCustomElement() (#394) Update: Skip maintenance routines when tl_pct_customcatalog table has not been created yet (#393) ### 1.6.0 New: "Protection" attribute. Protect entries on member/member group level (frontend) and/or user / user group level (backend) (#375) Fixed: In some situations the database alert das been displayed even the database is up to date Fixed: Missing edit button in a multiple tl_content relation scenario (#382) Fixed: Wrong source value passed to tabletree widget in tl_module.multiSRC Fixed: Wrong filters applied for multiple lists modules on reader pages due to caching Fixed: RateIt attribute: Session data must be an array and check GET parameters against current record id (#380) Fixed: Missing css classes in empty lists (#391) Added: Use tl_content as child table standalone without a configuration (#382) Added: Copy filters when duplicating a filterset (#386) Update: Allow timestamp attributes to be selected in range filters (#377) Update: More improvements using the cache and contao model classes and minor code improvements Update: Rebuild the pagetree filter procedure (#380) Update: Improved the RelatedItems filter Update: Increased the min-width of the quickmenu Update: CustomElement Widget Attribute: Copy and remove data on CC DCA actions Update: Use the tl_module.customcatalog_filter_showAll to toggle between showing all entries or none when there are no filters set Update: Remove any tiny mce relations if field is not a textarea (#388) Update: Remove the $GLOBALS['loadDataContainer'] setting so Contao will load external dca files again Update: Referenced attributes do not need to be in the default groupset anymore