Project

General

Profile

Actions

Task #80393

closed

EXT:form - Streamline fluid namespace in templates

Added by David Gurk over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2017-03-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Sprint Focus:

Description

Hi,

it's a bit of an personal taste, but I prefer xmlns-Namespace definitions over {namespace}.

My IDE (PhpStorm) shouts a lot warnings at me if a look into templates within EXT:form.

I would suggest to streamline the fluid namespaces to match f.e. EXT:fluid_styled_content[[https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/fluid_styled_content/Resources/Private/Partials/Media/Gallery.html]], like:

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:formvh="http://typo3.org/ns/TYPO3/CMS/Form/ViewHelpers" data-namespace-typo3-fluid="true">

Maybe could discuss this?

Regards

David


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #80245: Core contains a lot of redundant importsClosed2017-12-27

Actions
Actions #1

Updated by David Gurk over 7 years ago

Note: I'm currently not on dev-master but on 8.6.1.

In dev-master the templates haven't a {namespace formvh=TYPO3\CMS\Form\ViewHelpers} at all.

Actions #2

Updated by Ralf Zimmermann over 7 years ago

No namespaces exists in current master within the fluid templates.
You are using 8.6.1.
This issue is more like "add '<html xmlns...' stuff to the templates to make it IDE compatible".
I heared that @Benjamin Kott want's to streamline the templates. But not sure.

Actions #3

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52121

Actions #4

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52121

Actions #5

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52121

Actions #6

Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52121

Actions #7

Updated by Gerrit Code Review over 7 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52121

Actions #8

Updated by Anonymous over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF