From e9ee4a9c6d466bccca922a280a252bf8402bbb9b Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 13:49:55 +0200 Subject: [PATCH 01/11] add example for legacy installation --- README.md | 65 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 58 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 84f9ca8..26a19e5 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Workspaces are not yet implemented. #### Installation using Composer -The recommended way to install the extension is by using [Composer][2]. In your Composer based TYPO3 project root, just do `composer require internetgalerie/ig-slug`. +The recommended way to install the extension is by using [Composer][2]. In your Composer based TYPO3 project root, just do `composer require internetgalerie/ig-slug`. #### Installation as extension from TYPO3 Extension Repository (TER) @@ -33,20 +33,71 @@ Download and install the extension with the extension manager module. The slugs can also rebuilded in CLI, e.g. -`vendor/bin/typo3 ig_slug:update tx_news_domain_model_news` +.. tabs:: -or with pid + .. group-tab:: Composer-based installation -`vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99` + .. code-block:: bash + + vendor/bin/typo3 ig_slug:update tx_news_domain_model_news + + .. group-tab:: Legacy installation + + .. code-block:: bash + + typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news + + +or with pid + +.. tabs:: + + .. group-tab:: Composer-based installation + + .. code-block:: bash + + vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 + + .. group-tab:: Legacy installation + + .. code-block:: bash + + typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news 99 for page recursive for pid=20 -`vendor/bin/typo3 ig_slug:update pages 20 -R` +.. tabs:: + + .. group-tab:: Composer-based installation + + .. code-block:: bash + + vendor/bin/typo3 ig_slug:update pages 20 -R + + .. group-tab:: Legacy installation + + .. code-block:: bash + + typo3/sysext/core/bin/typo3 ig_slug:update pages 20 -R + or only for default language: -`vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20` +.. tabs:: + + .. group-tab:: Composer-based installation + + .. code-block:: bash + + vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20 + + .. group-tab:: Legacy installation + + .. code-block:: bash + + typo3/sysext/core/bin/typo3 ig_slug:update -L 0 -R -- pages 20 + [1]: https://docs.typo3.org/typo3cms/extensions/ig_slug/ [2]: https://getcomposer.org/ - +[3]: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/CommandControllers/Index.html From 6e830ad48c60ec8b962452b6617a9c6bc3e744ff Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 14:37:19 +0200 Subject: [PATCH 02/11] use markdown --- README.md | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 26a19e5..d336795 100644 --- a/README.md +++ b/README.md @@ -33,32 +33,21 @@ Download and install the extension with the extension manager module. The slugs can also rebuilded in CLI, e.g. -.. tabs:: - - .. group-tab:: Composer-based installation +=== "Composer-based installation" - .. code-block:: bash - - vendor/bin/typo3 ig_slug:update tx_news_domain_model_news + vendor/bin/typo3 ig_slug:update tx_news_domain_model_news +=== "Legacy installation" .. group-tab:: Legacy installation - .. code-block:: bash - - typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news + typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news or with pid -.. tabs:: - - .. group-tab:: Composer-based installation +=== "Composer-based installation" - .. code-block:: bash - - vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 - - .. group-tab:: Legacy installation + vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 .. code-block:: bash From beefcdd6089be70ea20add9c3cada94aee5bad5c Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 14:40:55 +0200 Subject: [PATCH 03/11] - --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d336795..2a926b2 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,12 @@ Download and install the extension with the extension manager module. The slugs can also rebuilded in CLI, e.g. +
=== "Composer-based installation" vendor/bin/typo3 ig_slug:update tx_news_domain_model_news === "Legacy installation" - .. group-tab:: Legacy installation typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news From 78cb49c4aaedbbeae749dfc7c10dca1525476e70 Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 14:47:56 +0200 Subject: [PATCH 04/11] - --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a926b2..e6cb5cf 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,11 @@ Download and install the extension with the extension manager module. The slugs can also rebuilded in CLI, e.g.
-=== "Composer-based installation" +#### "Composer-based installation" vendor/bin/typo3 ig_slug:update tx_news_domain_model_news -=== "Legacy installation" +#### "Legacy installation" typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news From 105d8d1e0279c4b2e9e78fbea6d4bb1ff01f6cac Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 14:49:04 +0200 Subject: [PATCH 05/11] - --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6cb5cf..d8e9243 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,12 @@ Download and install the extension with the extension manager module. The slugs can also rebuilded in CLI, e.g.
-#### "Composer-based installation" + +#### Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news -#### "Legacy installation" +#### Legacy installation typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news From 36146b860a80b4ef6d7dc072e165710efab92b5a Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 14:51:38 +0200 Subject: [PATCH 06/11] - --- README.md | 38 +++++++++++--------------------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index d8e9243..11644f7 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,6 @@ Download and install the extension with the extension manager module. The slugs can also rebuilded in CLI, e.g. -
- #### Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news @@ -43,49 +41,35 @@ The slugs can also rebuilded in CLI, e.g. typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news - or with pid -=== "Composer-based installation" +#### Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 - .. code-block:: bash +#### Legacy installation - typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news 99 + typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news 99 for page recursive for pid=20 -.. tabs:: - - .. group-tab:: Composer-based installation - - .. code-block:: bash - - vendor/bin/typo3 ig_slug:update pages 20 -R - - .. group-tab:: Legacy installation +#### Composer-based installation - .. code-block:: bash + vendor/bin/typo3 ig_slug:update pages 20 -R - typo3/sysext/core/bin/typo3 ig_slug:update pages 20 -R +#### Legacy installation + typo3/sysext/core/bin/typo3 ig_slug:update pages 20 -R or only for default language: -.. tabs:: - - .. group-tab:: Composer-based installation - - .. code-block:: bash - - vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20 +#### Composer-based installation - .. group-tab:: Legacy installation + vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20 - .. code-block:: bash +#### Legacy installation - typo3/sysext/core/bin/typo3 ig_slug:update -L 0 -R -- pages 20 + typo3/sysext/core/bin/typo3 ig_slug:update -L 0 -R -- pages 20 [1]: https://docs.typo3.org/typo3cms/extensions/ig_slug/ From 4defaf2ef16492b4328e7b1bdde41216369473ed Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 14:57:55 +0200 Subject: [PATCH 07/11] - --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 11644f7..da4eb97 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,9 @@ Download and install the extension with the extension manager module. ### 2) CLI -The slugs can also rebuilded in CLI, e.g. +The slugs can also completely be rebuilt in CLI, e.g. +- - - #### Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news @@ -43,6 +44,7 @@ The slugs can also rebuilded in CLI, e.g. or with pid +- - - #### Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 @@ -53,6 +55,7 @@ or with pid for page recursive for pid=20 +- - - #### Composer-based installation vendor/bin/typo3 ig_slug:update pages 20 -R @@ -63,6 +66,7 @@ for page recursive for pid=20 or only for default language: +- - - #### Composer-based installation vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20 From 73930c3c160b27952349c5a37608c4333c7b0dce Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 15:00:27 +0200 Subject: [PATCH 08/11] - --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index da4eb97..236b53b 100644 --- a/README.md +++ b/README.md @@ -31,47 +31,48 @@ Download and install the extension with the extension manager module. ### 2) CLI -The slugs can also completely be rebuilt in CLI, e.g. +The slugs can also be +#### completely rebuilt in CLI - - - -#### Composer-based installation +Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news -#### Legacy installation +Legacy installation typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news -or with pid +#### with pid - - - -#### Composer-based installation +Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 -#### Legacy installation +Legacy installation typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news 99 -for page recursive for pid=20 +#### for page recursive for pid=20 - - - -#### Composer-based installation +Composer-based installation vendor/bin/typo3 ig_slug:update pages 20 -R -#### Legacy installation +Legacy installation typo3/sysext/core/bin/typo3 ig_slug:update pages 20 -R -or only for default language: +#### only for default language: - - - -#### Composer-based installation +Composer-based installation vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20 -#### Legacy installation +Legacy installation typo3/sysext/core/bin/typo3 ig_slug:update -L 0 -R -- pages 20 From 69b5942400e83b39f0634226c9b6aed675e1deaf Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 15:04:26 +0200 Subject: [PATCH 09/11] - --- README.md | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 236b53b..e026a73 100644 --- a/README.md +++ b/README.md @@ -32,49 +32,49 @@ Download and install the extension with the extension manager module. ### 2) CLI The slugs can also be -#### completely rebuilt in CLI +* completely rebuilt in CLI -- - - -Composer-based installation + - - - + Composer-based installation - vendor/bin/typo3 ig_slug:update tx_news_domain_model_news + vendor/bin/typo3 ig_slug:update tx_news_domain_model_news -Legacy installation + Legacy installation - typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news + typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news -#### with pid +* with pid -- - - -Composer-based installation + - - - + Composer-based installation - vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 + vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 -Legacy installation + Legacy installation - typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news 99 + typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news 99 -#### for page recursive for pid=20 +* for page recursive for pid=20 -- - - -Composer-based installation + - - - + Composer-based installation - vendor/bin/typo3 ig_slug:update pages 20 -R + vendor/bin/typo3 ig_slug:update pages 20 -R -Legacy installation + Legacy installation - typo3/sysext/core/bin/typo3 ig_slug:update pages 20 -R + typo3/sysext/core/bin/typo3 ig_slug:update pages 20 -R -#### only for default language: +* only for default language: -- - - -Composer-based installation + - - - + Composer-based installation - vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20 + vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20 -Legacy installation + Legacy installation - typo3/sysext/core/bin/typo3 ig_slug:update -L 0 -R -- pages 20 + typo3/sysext/core/bin/typo3 ig_slug:update -L 0 -R -- pages 20 [1]: https://docs.typo3.org/typo3cms/extensions/ig_slug/ From 26512b3f3e113a52c81be961701b15f4f9fe41b6 Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 15:05:36 +0200 Subject: [PATCH 10/11] - --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index e026a73..0059dbd 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,6 @@ Download and install the extension with the extension manager module. The slugs can also be * completely rebuilt in CLI - - - - Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news @@ -45,7 +44,6 @@ The slugs can also be * with pid - - - - Composer-based installation vendor/bin/typo3 ig_slug:update tx_news_domain_model_news 99 @@ -56,7 +54,6 @@ The slugs can also be * for page recursive for pid=20 - - - - Composer-based installation vendor/bin/typo3 ig_slug:update pages 20 -R @@ -67,7 +64,6 @@ The slugs can also be * only for default language: - - - - Composer-based installation vendor/bin/typo3 ig_slug:update -L 0 -R -- pages 20 From eff2bba8315eadc06a6568e386b396fd60374796 Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 13 May 2024 15:06:31 +0200 Subject: [PATCH 11/11] - --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0059dbd..49fadf6 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Download and install the extension with the extension manager module. ### 2) CLI The slugs can also be -* completely rebuilt in CLI +* completely rebuilt in CLI: Composer-based installation @@ -42,7 +42,7 @@ The slugs can also be typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news -* with pid +* with pid: Composer-based installation @@ -52,7 +52,7 @@ The slugs can also be typo3/sysext/core/bin/typo3 ig_slug:update tx_news_domain_model_news 99 -* for page recursive for pid=20 +* for page recursive for pid=20: Composer-based installation