From theanswer.info at gmail.com Sun Sep 3 10:59:53 2017 From: theanswer.info at gmail.com (the answer) Date: Sun, 03 Sep 2017 10:59:53 +0200 Subject: [TYPO3-dev] =?utf-8?q?_Remove_tabs_from_page_settings?= Message-ID: Hello I need some help with configuration of the typo3 backend I would like to delete/disable certain tabs in the page setting page for editor users. Can this be achieved through basic configuration? For example I have editor users on my page and I don't want them to see appearance, behaviour, languages and categories tabs in the page settings. Only an admin user should see those. So what would be easier here. Somehow defining all roles that shouldn't see the tabs or configuring it like that that the rule says: "Display these tabs only if the logged in user is an admin user" Is there any reference documentation on how can I achieve this, so far I haven't found anything that would do this exact thing that I would like so I would be thankful for any tips. Kind regards. From theanswer.info at gmail.com Sun Sep 3 11:26:28 2017 From: theanswer.info at gmail.com (the answer) Date: Sun, 03 Sep 2017 11:26:28 +0200 Subject: [TYPO3-dev] =?utf-8?q?_Add_permission_to_clear_cache?= Message-ID: Is it possible to add a permision for user so he can clear the cache or not. So for example user who doesn't have permission shouldn't see the lightning bolt icon in the backend. From jigal.van.hemert at typo3.org Mon Sep 4 12:57:02 2017 From: jigal.van.hemert at typo3.org (Jigal van Hemert) Date: Mon, 4 Sep 2017 12:57:02 +0200 Subject: [TYPO3-dev] Remove tabs from page settings In-Reply-To: References: Message-ID: Hi "the answer", First of all, it's common in the TYPO3 community to use our own names. After all we're all people sharing things with other people. It would be great if you could somehow use your name in your posts. On 03/09/2017 10:59, the answer wrote: > I would like to delete/disable certain tabs in the page setting page for > editor users. Can this be achieved through basic configuration? Yes, you can disable any field in any table. https://docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TCEform/Index.html#pagetceformconfobj If there are no fields left to display on a tab the tab will automatically be hidden. If you only want to use these settings for a certain user or group you can set it in the User TSconfig fields of that user or group. If you want to set Page TSconfig properties in User TSconfig just put "page." in front of it: page.TCEFORM.pages.title.disabled = 1 To hide the title field in page properties for a user/group. -- Jigal van Hemert TYPO3 CMS Core Team Member TYPO3 .... inspiring people to share! Get involved: typo3.org From theanswer.info at gmail.com Mon Sep 4 18:42:19 2017 From: theanswer.info at gmail.com (the answer) Date: Mon, 04 Sep 2017 18:42:19 +0200 Subject: [TYPO3-dev] =?utf-8?q?Remove_tabs_from_page_settings?= References: Message-ID: Hello. Thank you for your answer. Few questions. How do you know the fields's names that you must disable? Where are they written. For example Page -> Appearence tab. Where can I find all field names? Can you explain to me how this user config file is created or where must I put it if i am extending typo3. Does it even matter. Cause I have some sort of config file where I put everything in. Now I see user groups through the admin panel but how exactly must I define the config file to do something for non admin user. Can this even be done or must I define the config for every group but the admin? From jigal.van.hemert at typo3.org Tue Sep 5 09:09:57 2017 From: jigal.van.hemert at typo3.org (Jigal van Hemert) Date: Tue, 5 Sep 2017 09:09:57 +0200 Subject: [TYPO3-dev] Remove tabs from page settings In-Reply-To: References: Message-ID: Hi, On 04/09/2017 18:42, the answer wrote: > Hello. Thank you for your answer. > Few questions. One question. Why don't you use your real name? You'll get a lot more answers if do. -- Jigal van Hemert TYPO3 CMS Core Team Member TYPO3 .... inspiring people to share! Get involved: typo3.org From theanswer.info at gmail.com Tue Sep 5 09:21:16 2017 From: theanswer.info at gmail.com (the answer) Date: Tue, 05 Sep 2017 09:21:16 +0200 Subject: [TYPO3-dev] =?utf-8?q?Remove_tabs_from_page_settings?= References: Message-ID: Quote: Jigal van Hemert (jigal) wrote on Tue, 05 September 2017 09:09 ---------------------------------------------------- > Hi, > > On 04/09/2017 18:42, the answer wrote: > > Hello. Thank you for your answer. > > Few questions. > > One question. Why don't you use your real name? You'll get a lot more > answers if do. > > -- > Jigal van Hemert > TYPO3 CMS Core Team Member > > TYPO3 .... inspiring people to share! > Get involved: typo3.org ---------------------------------------------------- I can't change it in the control panel so I am stuck with what I have :) From theanswer.info at gmail.com Tue Sep 5 10:17:34 2017 From: theanswer.info at gmail.com (the answer) Date: Tue, 05 Sep 2017 10:17:34 +0200 Subject: [TYPO3-dev] =?utf-8?q?Remove_tabs_from_page_settings?= References: Message-ID: Ok so for anyone else who is looking how to disable fields. Right click on the element inside the tab and inspect it with your browser. Look for the name attribute. For example to disable Appearance tab write: # Disable Appearance tab page.TCEFORM.tt_content.layout.disabled = 1 page.TCEFORM.tt_content.frame_class.disabled = 1 page.TCEFORM.tt_content.space_before_class.disabled = 1 page.TCEFORM.tt_content.sectionIndex.disabled = 1 page.TCEFORM.tt_content.space_after_class.disabled = 1 page.TCEFORM.tt_content.linkToTop.disabled = 1 I still need help on how to do this for just one user role. From oliver.hader at typo3.org Tue Sep 5 13:08:39 2017 From: oliver.hader at typo3.org (Oliver Hader) Date: Tue, 5 Sep 2017 13:08:39 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announcing TYPO3 CMS 7.6.22 LTS and 8.7.5 LTS Message-ID: Dear TYPO3 World, the TYPO3 Community has just released TYPO3 CMS versions 7.6.22 LTS and 8.6.5 LTS which are now ready for you to download. All versions are maintenance releases and contain bug fixes and security fixes. *IMPORTANT* These versions include important security fixes to the TYPO3 CMS Core. The according security bulletins with details have just been released: https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2017-004/ https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2017-005/ https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2017-006/ https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2017-007/ The packages can be downloaded here: https://typo3.org/download/ For details about the releases, please see: https://typo3.org/news/article/typo3-cms-7622-and-865-released/ SHA256 checksums: b9b9332cdfd7a51c815aa7c58f606b446bb1653d0e851a57e2c5f693aa87b4a8 typo3_src-7.6.22.tar.gz 33917e6680d366775321f52681052908e908a9bf600a5df597f2528fcdb97ddd typo3_src-7.6.22.zip c4d1dea5ab6cff3780a3337dc31903696478695559dc9d186f532e8b080a176b typo3_src-8.7.5.tar.gz 1f71d861b73b24443b52e9f6459cd5062030fe25afe8fb72641e1ebeec0531ee typo3_src-8.7.5.zip Further details on the signing and hashing process of TYPO3 releases: https://typo3.org/download/signed-packages/ Best regards Oliver -- Oliver Hader TYPO3 .... inspiring people to share! Get involved: http://typo3.org From oliver.hader at typo3.org Thu Sep 7 09:14:06 2017 From: oliver.hader at typo3.org (Oliver Hader) Date: Thu, 7 Sep 2017 09:14:06 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announcing TYPO3 CMS 8.7.6 LTS Message-ID: Dear TYPO3 World, today the TYPO3 Community has released TYPO3 CMS version 8.7.6 LTS which is ready for you to download. This version is a regression fix release for TYPO3 CMS 8.7.5 LTS concerning the Fluid templating engine and the usage of CKEditor in the backend. This version is a maintenance release and contains bug fixes only. The packages can be downloaded here: https://typo3.org/download/ For details about the release, please see: https://typo3.org/news/article/typo3-876-released/ SHA256 checksums: fd6aa98c5e35a38174f7bb9f3e09c6212c393ede7cab72344e682ba1fea5a545 typo3_src-8.7.6.tar.gz 22506010ce09984e208424a24c90a3915d804fd788bc40cead63d84580b1be46 typo3_src-8.7.6.zip Further details on the signing and hashing process of TYPO3 releases: https://typo3.org/download/signed-packages/ Best regards Oliver -- Oliver Hader TYPO3 .... inspiring people to share! Get involved: http://typo3.org From eliasfernandez at gmail.com Mon Sep 18 18:06:17 2017 From: eliasfernandez at gmail.com (elias) Date: Mon, 18 Sep 2017 18:06:17 +0200 Subject: [TYPO3-dev] =?utf-8?q?_PostInitializationModules_on_backend_with_?= =?utf-8?q?requirejs?= Message-ID: I want to override the default option on DragUploader over the files ( i want to rename by default on the selector when there is a file with the same name on upload), so when i was looking for the best way to override: typo3/sysext/backend/Resources/Public/Javascript/DragUploader.js i have found that option: $.each(TYPO3.settings.RequireJS.PostInitializationModules['TYPO3/CMS/Backend/DragUploader'], function(pos, moduleName) { require([moduleName]); }); Seems that you could extends the behaviour of draguploader from there, but there is no documentation about how this must be done. Can someone explain how it could be done?. From oliver.hader at typo3.org Tue Sep 19 17:43:22 2017 From: oliver.hader at typo3.org (Oliver Hader) Date: Tue, 19 Sep 2017 17:43:22 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announcing TYPO3 CMS 7.6.23 LTS and 8.7.7 LTS Message-ID: Dear TYPO3 World, today the TYPO3 Community has released TYPO3 CMS versions 7.6.23 LTS and 8.7.7 LTS which are ready for you to download. All versions are maintenance releases and contain bug fixes only. The packages can be downloaded here: https://typo3.org/download/ For details about the releases, please see: https://typo3.org/news/article/typo3-877-and-7623-released/ SHA256 checksums: 17cc48e7bee97b09f686001e0422beef734c745bb89831f08b07b8743e002fc9 typo3_src-7.6.23.tar.gz 81eec8e7c0ae98e78d6a7872436978202941e781cbf00214c0494694757c8828 typo3_src-7.6.23.zip cc9d25caac24858356e4a0fa43391f7801734dc2a70a0e9728c69a650e008095 typo3_src-8.7.7.tar.gz 452488359768488f91b6d4398d441ec9e670171856633d57e3c43c158f0e31de typo3_src-8.7.7.zip Further details on the signing and hashing process of TYPO3 releases: https://typo3.org/download/signed-packages/ Best regards Oliver -- Oliver Hader TYPO3 .... inspiring people to share! Get involved: http://typo3.org From typo3 at hartundweich.at Mon Sep 25 11:04:09 2017 From: typo3 at hartundweich.at (Andreas Fragner) Date: Mon, 25 Sep 2017 11:04:09 +0200 Subject: [TYPO3-dev] =?utf-8?q?_TCA__Input_time?= Message-ID: Hello, I've develeopped an extension storing a time field in the database as UTC Timestamp. When storing the value in the database the given time is put tu UTC and when reading it out it is converted to local time zone. I've solved this by using my own additional validator, using evaluateFieldValue to store the correct value to the database and using deevaluateFieldValue function to read it out correctly when editing my record. When upgrading this Typo3 instance to V8 I notived some changes in how values get passed to my evaluator. As of V7 the value was integer - now it is a string containing the whole information (Date, Time, Offset/Timezone). So I changed my evaluator to get the expected values. BUT: the deevaluateFieldValue function is not called any more. Is there possibility to get this working again? Or do I have to refactor my whole extension? Thank you for having a look on my problem.... feel free to contact me if you have to know something additional. Domain model declaration is: /** * startTime * * @var \DateTime * @validate NotEmpty */ protected $startTime = null;