Task #91910

Add working default icon for Backend Layout Builder Page TS

Added by Nikita Hovratov 3 months ago. Updated 3 months ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-07-31
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When creating a new backend layout record it is possible to show the equivalent page ts config.
This shows something like this:

mod.web_layout.BackendLayouts {
  exampleKey {
    title = Example
--> icon = EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif
    config {
      backend_layout {
        colCount = 1
        rowCount = 1
        rows {
          1 {
            columns {
              1 {
                name = 0x0
                colPos = 1
              }
            }
          }
        }
      }
    }
  }
}

People might forget changing the icon. Add a working icon example to mitigate any errors resulting from that.

History

#1 Updated by Nikita Hovratov 3 months ago

  • Description updated (diff)

#2 Updated by Georg Ringer 3 months ago

  • Status changed from New to Needs Feedback

Thanks for creating the issue. I am wondering: What is the benefit having the path to a working default icon? Important is to have the configuration which works and which can be used modfied later on.

#3 Updated by Nikita Hovratov 3 months ago

Georg Ringer wrote:

Thanks for creating the issue. I am wondering: What is the benefit having the path to a working default icon? Important is to have the configuration which works and which can be used modfied later on.

Hi Georg, i agree with you. In my case the issue was people copying the configuration and forget to change the icon later on. This led to an error with the mask extension because of the missing icon. So the benefit would be to prevent such cases with either adding a working default icon or completely comment out the icon property.

Also available in: Atom PDF