diff --git a/Documentation/Images/AutomaticScreenshots/RootlevelFlag.png b/Documentation/Images/AutomaticScreenshots/RootlevelFlag.png new file mode 100644 index 0000000..39a3799 Binary files /dev/null and b/Documentation/Images/AutomaticScreenshots/RootlevelFlag.png differ diff --git a/Documentation/Images/AutomaticScreenshots/RootlevelFlag.rst.txt b/Documentation/Images/AutomaticScreenshots/RootlevelFlag.rst.txt new file mode 100644 index 0000000..db4fcab --- /dev/null +++ b/Documentation/Images/AutomaticScreenshots/RootlevelFlag.rst.txt @@ -0,0 +1,7 @@ +.. Automatic screenshot: Remove this line if you want to manually change this file + +.. figure:: /Images/AutomaticScreenshots/RootlevelFlag.png + :alt: The rootlevel flag in a template record. + :class: with-shadow + + The rootlevel flag in a template record. \ No newline at end of file diff --git a/Documentation/Images/AutomaticScreenshots/TemplateAnalyzerStructure.png b/Documentation/Images/AutomaticScreenshots/TemplateAnalyzerStructure.png new file mode 100644 index 0000000..56eb06c Binary files /dev/null and b/Documentation/Images/AutomaticScreenshots/TemplateAnalyzerStructure.png differ diff --git a/Documentation/Images/AutomaticScreenshots/TemplateAnalyzerStructure.rst.txt b/Documentation/Images/AutomaticScreenshots/TemplateAnalyzerStructure.rst.txt new file mode 100644 index 0000000..a4b912d --- /dev/null +++ b/Documentation/Images/AutomaticScreenshots/TemplateAnalyzerStructure.rst.txt @@ -0,0 +1,7 @@ +.. Automatic screenshot: Remove this line if you want to manually change this file + +.. figure:: /Images/AutomaticScreenshots/TemplateAnalyzerStructure.png + :alt: The template structure as seen with the Template Analyzer + :class: with-shadow + + The template structure as seen with the Template Analyzer \ No newline at end of file diff --git a/Documentation/Images/ManualScreenshots/ObjectBrowserSetupRoot.png b/Documentation/Images/ManualScreenshots/ObjectBrowserSetupRoot.png deleted file mode 100644 index 27ee15f..0000000 Binary files a/Documentation/Images/ManualScreenshots/ObjectBrowserSetupRoot.png and /dev/null differ diff --git a/Documentation/Images/ManualScreenshots/RootlevelFlag.png b/Documentation/Images/ManualScreenshots/RootlevelFlag.png deleted file mode 100644 index 59d7509..0000000 Binary files a/Documentation/Images/ManualScreenshots/RootlevelFlag.png and /dev/null differ diff --git a/Documentation/Images/ManualScreenshots/TemplateAnalyzerStructure.png b/Documentation/Images/ManualScreenshots/TemplateAnalyzerStructure.png deleted file mode 100644 index f38b22b..0000000 Binary files a/Documentation/Images/ManualScreenshots/TemplateAnalyzerStructure.png and /dev/null differ diff --git a/Documentation/TypoScriptOverview/MainTemplate/Index.rst b/Documentation/TypoScriptOverview/MainTemplate/Index.rst index eb5f837..4ef7adc 100644 --- a/Documentation/TypoScriptOverview/MainTemplate/Index.rst +++ b/Documentation/TypoScriptOverview/MainTemplate/Index.rst @@ -10,9 +10,7 @@ The TypoScript code used to define how pages are rendered is located in the "main" template. In this template a so-called "rootlevel flag" is set. -.. figure:: /Images/ManualScreenshots/RootlevelFlag.png - :alt: The rootlevel flag in a template record. - +.. include:: /Images/AutomaticScreenshots/RootlevelFlag.rst.txt When the frontend renders a page, TYPO3 CMS searches along the page tree up to the root page to find a "main" template. Normally, there are diff --git a/Documentation/UsingFluidStyledContent/Index.rst b/Documentation/UsingFluidStyledContent/Index.rst index 67d4457..7f05b4e 100644 --- a/Documentation/UsingFluidStyledContent/Index.rst +++ b/Documentation/UsingFluidStyledContent/Index.rst @@ -20,11 +20,7 @@ You should see a list of all used TypoScript templates and how they possibly include one another. All templates are evaluated by TYPO3 CMS from top to bottom. -.. figure:: /Images/ManualScreenshots/TemplateAnalyzerStructure.png - :alt: The template structure as seen with the Template Analyzer - - The template structure as seen with the Template Analyzer - +.. include:: /Images/AutomaticScreenshots/TemplateAnalyzerStructure.rst.txt With a click on "EXT:fluid\_styled\_content/static/", you can view the content of that template (below the hierarchical view), first the constants, then the diff --git a/screenshots.json b/screenshots.json new file mode 100644 index 0000000..1e31d7e --- /dev/null +++ b/screenshots.json @@ -0,0 +1,55 @@ +{ + "suites": { + "Introduction": { + "screenshots": { + "_default": [ + {"action": "resizeWindow", "width": 1024,"height": 768}, + {"action": "setScreenshotsDocumentationPath", "path": "Documentation"}, + {"action": "setScreenshotsImagePath","path": "Images/AutomaticScreenshots"}, + {"action": "setScreenshotsRstPath","path": "Images/AutomaticScreenshots"}, + {"action": "setCodeSnippetsSourcePath","path": "typo3conf/ext/styleguide"}, + {"action": "setCodeSnippetsTargetPath", "path": "CodeSnippets"} + ], + "templatesModule": [ + {"include": "_default"}, + {"action": "see", "text": "Template"}, + {"action": "click", "link": "Template"}, + {"action": "drawBox", "selector": "#web_ts"}, + {"action": "openPageTreePath", "path": ["Congratulations"]}, + {"action": "switchToContentFrame"}, + {"action": "wait", "timeout": "1"}, + {"action": "selectOption", "select": "select.t3-js-jumpMenuBox", "option": "Template Analyzer"}, + {"action": "see", "text": "Template hierarchy"}, + {"action": "drawBox", "selector": "select.t3-js-jumpMenuBox"}, + { + "action": "makeScreenshotOfElement", + "altText": "The template structure as seen with the Template Analyzer", + "captionText": "The template structure as seen with the Template Analyzer", + "fileName": "TemplateAnalyzerStructure" + } + ], + "templatesRecords": [ + {"include": "_default"}, + {"action": "resizeWindow", "width": 640,"height": 768}, + { + "action": "goToRecord", + "table": "sys_template", + "uid": 2 + }, + {"action": "click", "link": "Options"}, + { + "action": "drawBox", + "selector": "//fieldset[contains(., \"Rootlevel\")]" + }, + { + "action": "makeScreenshotOfElement", + "fileName": "RootlevelFlag", + "selector": ".t3js-module-body", + "captionText": "The rootlevel flag in a template record.", + "altText": "The rootlevel flag in a template record." + } + ] + } + } + } +}