diff --git a/Configuration/TCA/tx_camaliga_domain_model_content.php b/Configuration/TCA/tx_camaliga_domain_model_content.php index 5012e74..aadbc19 100644 --- a/Configuration/TCA/tx_camaliga_domain_model_content.php +++ b/Configuration/TCA/tx_camaliga_domain_model_content.php @@ -34,7 +34,7 @@ $slugField2a[] = $field; } } else { - $slugField2a = $slugField1; + $slugField2a = $slugField2; } $slugFields[] = $slugField2a; } @@ -389,7 +389,7 @@ ], ], 'title' => [ - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.title', 'config' => [ 'type' => 'input', @@ -398,14 +398,14 @@ ], ], 'slug' => [ - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.slug', 'config' => [ 'type' => 'slug', 'generatorOptions' => [ 'fields' => $slugFields, - 'fieldSeparator' => '/', - 'prefixParentPageSlug' => true, + 'fieldSeparator' => '_', + 'prefixParentPageSlug' => false, 'replacements' => [ '/' => '', '[' => '', @@ -420,7 +420,7 @@ ] ], 'shortdesc' => [ - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.shortdesc', 'config' => [ 'type' => 'text', @@ -430,7 +430,7 @@ ], ], 'longdesc' => [ - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.longdesc', 'config' => [ 'type' => 'text', @@ -447,7 +447,7 @@ ], ], 'link' => [ - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.link', 'config' => [ 'type' => 'input', @@ -455,7 +455,7 @@ ], ], $pre.'image' => [ - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.image', 'config' => $imgConfig1, ], @@ -464,13 +464,13 @@ if (!$disableFurtherImages) { $tcaArray['columns'][$pre.'image2'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.image2', 'config' => $imgConfig2 ); if (!$enableFal) $tcaArray['columns']['caption2'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.caption2', 'config' => array( 'type' => 'input', @@ -479,13 +479,13 @@ ), ); $tcaArray['columns'][$pre.'image3'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.image3', 'config' => $imgConfig3 ); if (!$enableFal) $tcaArray['columns']['caption3'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.caption3', 'config' => array( 'type' => 'input', @@ -494,13 +494,13 @@ ), ); $tcaArray['columns'][$pre.'image4'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.image4', 'config' => $imgConfig4 ); if (!$enableFal) $tcaArray['columns']['caption4'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.caption4', 'config' => array( 'type' => 'input', @@ -509,13 +509,13 @@ ), ); $tcaArray['columns'][$pre.'image5'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.image5', 'config' => $imgConfig5 ); if (!$enableFal) $tcaArray['columns']['caption5'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.caption5', 'config' => array( 'type' => 'input', @@ -534,7 +534,7 @@ if (!$disableAddress) { $tcaArray['columns']['street'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.street', 'config' => array( 'type' => 'input', @@ -543,7 +543,7 @@ ), ); $tcaArray['columns']['zip'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.zip', 'config' => array( 'type' => 'input', @@ -552,7 +552,7 @@ ), ); $tcaArray['columns']['city'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.city', 'config' => array( 'type' => 'input', @@ -561,7 +561,7 @@ ), ); $tcaArray['columns']['country'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.country', 'config' => array( 'type' => 'input', @@ -570,7 +570,7 @@ ), ); $tcaArray['columns']['latitude'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.latitude', 'config' => array( 'type' => 'input', @@ -581,7 +581,7 @@ ), ); $tcaArray['columns']['longitude'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.longitude', 'config' => array( 'type' => 'input', @@ -598,7 +598,7 @@ if (!$disableContact) { $tcaArray['columns']['person'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.person', 'config' => array( 'type' => 'input', @@ -607,7 +607,7 @@ ), ); $tcaArray['columns']['phone'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.phone', 'config' => array( 'type' => 'input', @@ -616,7 +616,7 @@ ), ); $tcaArray['columns']['mobile'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.mobile', 'config' => array( 'type' => 'input', @@ -625,7 +625,7 @@ ), ); $tcaArray['columns']['email'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.email', 'config' => array( 'type' => 'input', @@ -640,7 +640,7 @@ if (!$disableCustom) { $tcaArray['columns']['custom1'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.custom1', 'config' => array( 'type' => 'input', @@ -649,7 +649,7 @@ ), ); $tcaArray['columns']['custom2'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.custom2', 'config' => array( 'type' => 'input', @@ -658,7 +658,7 @@ ), ); $tcaArray['columns']['custom3'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.custom3', 'config' => array( 'type' => 'input', @@ -673,7 +673,7 @@ if (!$disableMother) { $tcaArray['columns']['mother'] = array( - 'exclude' => 0, + 'exclude' => true, 'label' => 'LLL:EXT:camaliga/Resources/Private/Language/locallang_db.xlf:tx_camaliga_domain_model_content.mother', 'config' => array( 'type' => 'group', diff --git a/Documentation/Administration/Extension-Manager/Index.rst b/Documentation/Administration/Extension-Manager/Index.rst index 8589cea..212f75d 100644 --- a/Documentation/Administration/Extension-Manager/Index.rst +++ b/Documentation/Administration/Extension-Manager/Index.rst @@ -29,6 +29,7 @@ At the configuration in the extension-manager you can set some things: because TYPO3 changes the image configuration only then. Furthermore: you can move images from /uploads to FAL with a scheduler task. Read the chapter Administration → Scheduler-Tasks before you change a value! The default value is to use the /uploads/tx_camaliga folder! + Note: using the uploads-folder is deprecated. This feature will be removed in version 10.0! - You can make 2 settings for the extension ke_search. Both are important for the link-generation to one camaliga-entry:: diff --git a/Documentation/Administration/Scheduler/Index.rst b/Documentation/Administration/Scheduler/Index.rst index 1ec1e15..efe9a64 100644 --- a/Documentation/Administration/Scheduler/Index.rst +++ b/Documentation/Administration/Scheduler/Index.rst @@ -18,8 +18,9 @@ Scheduler-Tasks ^^^^^^^^^^^^^^^ -- There are 4 Scheduler Tasks: import and export CSV files. You can configure many things in both tasks. - The third task can move images from the /uploads/tx_camaliga-folder to FAL. +- There are 4 scheduler Tasks: import and export CSV files. You can configure many things in this both tasks. + +- The third scheduler task can move images from the /uploads/tx_camaliga-folder to FAL. Please make a backup of the camaliga-table and your uploads-images before you switch to FAL! After you have switched all your images to FAL, you need to tell Camaliga that it should use the FAL images. Go to the extension manager and configure camaliga there. Click at the checkbox "Use images from FAL instead of images from uploads/". diff --git a/Documentation/Administration/Slug/Index.rst b/Documentation/Administration/Slug/Index.rst index 020ba13..73e7702 100644 --- a/Documentation/Administration/Slug/Index.rst +++ b/Documentation/Administration/Slug/Index.rst @@ -40,17 +40,20 @@ In this example the uid of a camaliga element is used after "more". Here another extension: Camaliga plugin: Pi1 routes: - - { routePath: '/entry/{camaliga_title}', _controller: 'Content::map', _arguments: {'camaliga_title': 'content'} } - defaultController: 'Content::show' + - { routePath: '/entry/{camaliga_title}', _controller: 'Content::show', _arguments: {'camaliga_title': 'content'} } + defaultController: 'Content::list' aspects: camaliga_title: type: PersistedAliasMapper tableName: 'tx_camaliga_domain_model_content' routeFieldName: 'slug' -Note: if you want to use the slug field, make sure it is not empty! You can use a scheduler task of camaliga to create values for the slug field. +Note 1: if you want to use the slug field, make sure it is not empty! You can use a scheduler task of camaliga to create values for the slug field. -Here some not so good examples:: +Note 2: if you have configured 2 fields for the slug-field, '_' or '-' is used as separator and not '/', because of this problem: +https://forge.typo3.org/issues/87333 + +Here some not so good / old examples:: routeEnhancers: CamaligaPlugin: diff --git a/Documentation/Changelog/Index.rst b/Documentation/Changelog/Index.rst index 415b636..ded0ba8 100644 --- a/Documentation/Changelog/Index.rst +++ b/Documentation/Changelog/Index.rst @@ -18,9 +18,9 @@ ChangeLog - Here you find all the changes through the versions. -========== ============================================================================================================================ +========== ============================================================================================================================== Version Changes -========== ============================================================================================================================ +========== ============================================================================================================================== 0.1.0 Initial upload to TER. 0.1.2 Google PicasaWeb-Import and FancyBox-Template added. Documentation updated. 1.0.0 More TypoScript- and FlexForms-Settings. Carousel-Example updated. @@ -201,5 +201,7 @@ Version Changes Update-script is now deprecated and will be removed in version 10.0. 9.2.0 slug-field added. If you want to use, you should generate slugs via a scheduler task. Switch to the QueryBuilder at the tasks. + exclude=1 at the backend-fields. Bugfix: getLinkResolved. -========== ============================================================================================================================ + Using the uploads-folder is now deprecated and will be removed in version 10.0. Switch to FAL (see Administration/Scheduler)! +========== ============================================================================================================================== diff --git a/Documentation/Index.rst b/Documentation/Index.rst index b2af2b3..ca563c2 100644 --- a/Documentation/Index.rst +++ b/Documentation/Index.rst @@ -37,7 +37,10 @@ EXT: Camaliga - carousel/map/list/gallery `www.quizpalme.de `_ :Spachen: - `english Version `_, `deutsche Version `_ + `english Version `_, `deutsche Version `_ + Die deutsche Übersetzung ist nicht verfügbar, da die Admins von docs.typo3.org es nicht hinkriegen. Bis dahin gibt es die deutsche Doku nur bei GitHub: + https://github.com/bihor/camaliga/tree/master/Documentation/Localization.de_DE + .. toctree:: diff --git a/Documentation/Localization.de_DE/Administration/Extension-Manager/Index.rst b/Documentation/Localization.de_DE/Administration/Extension-Manager/Index.rst index be642b5..3500589 100644 --- a/Documentation/Localization.de_DE/Administration/Extension-Manager/Index.rst +++ b/Documentation/Localization.de_DE/Administration/Extension-Manager/Index.rst @@ -30,6 +30,7 @@ Bei der Konfiguration im Extension-Manager kann man verschiedene Sachen einstell Das ist sehr wichtig, damit TYPO3 die Bild-Konfiguration umstellt. Lies das Kapitel Administration → Scheduler-Tasks, bevor du was umstellst! Beachte weiterhin: die Standardeinstellung ist, den Ordner /uploads/tx_camaliga zu benutzen. + Deprecation: dieses Feature wird in Version 10.0 entfernt! Dann kann man den uploads-Ordner nicht mehr benutzen! - Man kann einstellen, wie die Links zu einem Camaliga-Eintrag bei ke_search gebildet werden sollen:: diff --git a/Documentation/Localization.de_DE/Administration/Slug/Index.rst b/Documentation/Localization.de_DE/Administration/Slug/Index.rst index c767490..b68fc8a 100644 --- a/Documentation/Localization.de_DE/Administration/Slug/Index.rst +++ b/Documentation/Localization.de_DE/Administration/Slug/Index.rst @@ -40,17 +40,20 @@ In diesem Beispiel wird die uid eines Camaliga-Elements hinter "more" eingefügt extension: Camaliga plugin: Pi1 routes: - - { routePath: '/entry/{camaliga_title}', _controller: 'Content::map', _arguments: {'camaliga_title': 'content'} } - defaultController: 'Content::show' + - { routePath: '/eintrag/{camaliga_title}', _controller: 'Content::show', _arguments: {'camaliga_title': 'content'} } + defaultController: 'Content::list' aspects: camaliga_title: type: PersistedAliasMapper tableName: 'tx_camaliga_domain_model_content' routeFieldName: 'slug' -Achtung: wenn man das slug-Feld benutzt, sollte man sicher sein, dass die slug-Felder auch befüllt sind. Dazu kann man einen Scheduler-Task von camaliga benutzen. +Achtung 1: wenn man das slug-Feld benutzt, sollte man sicher sein, dass die slug-Felder auch befüllt sind. Dazu kann man einen Scheduler-Task von camaliga benutzen. -Hier noch 2 nicht so schöne Beispiele:: +Achtung 2: wenn man 2 Felder für das slug-Feld konfiguriert hat, wird '_' oder '-' statt '/' als Separator benutzt, wegen diesem Problem: +https://forge.typo3.org/issues/87333 + +Hier noch 2 nicht so schöne / alte Beispiele:: routeEnhancers: CamaligaPlugin: diff --git a/Documentation/Localization.de_DE/Nderungen/Index.rst b/Documentation/Localization.de_DE/Nderungen/Index.rst index ef5aa85..249f8a3 100644 --- a/Documentation/Localization.de_DE/Nderungen/Index.rst +++ b/Documentation/Localization.de_DE/Nderungen/Index.rst @@ -205,7 +205,10 @@ Version Änderungen 9.1.0 Neue Konfigurationsmöglichkeit: actionForLinks (für ke_search). Bugfix: Thumbnail-Ansicht im Backend kann wieder sortiert werden. Bugfix: AddPublicResourcesViewHelper. + Deprecation: das Update-Skript wird in Version 10 entfernt. 9.2.0 slug-Feld hinzugefügt. Bevor man es benutzt, sollte man den zugehörigen Scheduler-Task ausführen. Wechsel zum QueryBuilder bei den Tasks. + exclude=1 bei den Backend-Feldern. Bugfix: getLinkResolved. + Deprecation: der uploads-Ordner wird ab Version 10 nicht mehr unterstützt! Wechsele zu FAL (siehe Admin./Scheduler)! ========== ===================================================================================================================== diff --git a/Documentation/Localization.de_DE/Updaten9/Index.rst b/Documentation/Localization.de_DE/Updaten9/Index.rst index 05f995c..32af026 100644 --- a/Documentation/Localization.de_DE/Updaten9/Index.rst +++ b/Documentation/Localization.de_DE/Updaten9/Index.rst @@ -39,4 +39,6 @@ noch ein ".title" bei catMMchildVal hinzufügen:: {catMMchildVal.title}.{catMMchildVal.title}, Grund: catMMchildVal von catMMval.childs ist jetzt ein Array (wie bei {content.categories}) und kein String mehr. -Verfügbar sind dabei: uid, title und description. \ No newline at end of file +Verfügbar sind dabei: uid, title und description. + +Deprecation: dieses Feature wird in Version 10.0 entfernt! Also das Skript noch mit Camaliga 9 ausführen! \ No newline at end of file diff --git a/Documentation/Updating9/Index.rst b/Documentation/Updating9/Index.rst index 44fdadd..6f2de99 100644 --- a/Documentation/Updating9/Index.rst +++ b/Documentation/Updating9/Index.rst @@ -35,4 +35,6 @@ You need to add ".title" at catMMchildVal:: {catMMchildVal.title}.{catMMchildVal.title}, -Reason: catMMchildVal of catMMval.childs is now an array like in {content.categories}. You can use: uid, title and description. \ No newline at end of file +Reason: catMMchildVal of catMMval.childs is now an array like in {content.categories}. You can use: uid, title and description. + +Deprecation: this feature will be removed in version 10.0. Please execute this script with camaliga version 9. \ No newline at end of file diff --git a/README.md b/README.md index e349f78..8e23ace 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # camaliga -version 9.1.5 +version 9.2.0 A carousel/gallery/map/list extension that can use the TYPO3 categories and different jQuery-plugins like Slick or Isotope. Bootstrap support. Indexer for ke_search. Many features. @@ -13,4 +13,4 @@ https://docs.typo3.org/p/quizpalme/camaliga/master/de-de/ Bis docs.typo3.org den Fehler behebt, kann man sich durch die deutsche Anleitung auch hier durchklicken: https://github.com/bihor/camaliga/tree/master/Documentation/Localization.de_DE -Last feature: switch to QueryBuilder at MoveToFalTask. \ No newline at end of file +Last feature: slug-field. \ No newline at end of file diff --git a/ext_conf_template.txt b/ext_conf_template.txt index 73ebb87..2d46546 100644 --- a/ext_conf_template.txt +++ b/ext_conf_template.txt @@ -4,13 +4,13 @@ dontSwitchContAct = 0 # cat=basic/enable; type=string; label=Action (e.g. show or list) for the ke_search hook, if it is not switched: actionForLinks = show -# cat=basic//10; type=string; label=Select this extended fields too (without comma, e.g. "custom4 custom5 custom6"): +# cat=basic/enable; type=string; label=Select this extended fields too (without comma, e.g. "custom4 custom5 custom6"): extendedFields = -# cat=basic//10; type=string; label=Field 1 for the slug building. If more than one field, or is used (without comma, e.g. "person city"): +# cat=basic/enable; type=string; label=Field 1 for the slug building. If more than one field, or is used (without comma, e.g. "person city"): slugField1 = title -# cat=basic//10; type=string; label=Field 2 for the slug building. If more than one field, or is used (without comma, e.g. "title custom1"): +# cat=basic/enable; type=string; label=Field 2 for the slug building. If more than one field, or is used (without comma, e.g. "title custom1"): slugField2 = # cat=basic/enable; type=boolean; label=Use images from FAL instead of images from uploads/: diff --git a/ext_emconf.php b/ext_emconf.php index 0c722ab..838677f 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -12,9 +12,9 @@ $EM_CONF[$_EXTKEY] = array ( 'title' => 'Camaliga: CArousel/MAp/LIst/GAllery', - 'description' => 'A carousel/gallery/map/list extension that can use the TYPO3 categories and different jQuery-plugins like Slick or Isotope. Bootstrap support. Indexer for ke_search. Many features! Big manual (even in german).', + 'description' => 'A carousel/gallery/map/list extension that can use the TYPO3 categories and different jQuery-plugins like Slick or Isotope. Bootstrap support. Indexer for ke_search. Many features!', 'category' => 'plugin', - 'version' => '9.1.5', + 'version' => '9.2.0', 'state' => 'stable', 'uploadfolder' => true, 'createDirs' => '',