Feature #66697

Add UpperCamelCase and LowerCamelCase to stdWrap.case

Added by Frans Saris over 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
TypoScript
Target version:
Start date:
2015-05-01
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

To make the following typoscript possible we need a UpperCamelCase and LowerCamelCase string conversion in typoscript.

tt_content = CASE
tt_content {
    key {
        field = CType
    }

    my_custem_ctype =< lib.userContent
    my_custom_ctype {
        file = EXT:site_base/Resources/Private/Templates/SomeOtherTemplate.html
        settings {
            extraParam = 1
        }
    }

    default =< lib.userContent
    default {
        file = TEXT
        file.field = CType
        file.stdWrap.case = uppercamelcase
        file.wrap = EXT:site_base/Resources/Private/Templates/|.html
    }
}

or with #66111 merged:

tt_content = CASE
tt_content {
    key {
        field = CType
    }

    my_custem_ctype =< lib.userContent
    my_custom_ctype {
        templateName = CustomName
        settings {
            extraParam = 1            
        }
    }

    default =< lib.userContent
    default {
        templateName = TEXT
        templateName.field = CType
        templateName.stdWrap.case = uppercamelcase
    }
}

Associated revisions

Revision 7eba6665 (diff)
Added by Frans Saris over 4 years ago

[FEATURE] Add uppercamelcase and lowercamelcase to stdWrap.case

Resolves: #66697
Releases: master
Change-Id: I29b2ebbea58d4dd461a4d130b774303489365a53
Reviewed-on: http://review.typo3.org/39131
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review over 4 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 http://review.typo3.org/39131

#2 Updated by Gerrit Code Review over 4 years ago

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

#3 Updated by Gerrit Code Review over 4 years ago

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

#4 Updated by Frans Saris over 4 years ago

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

#5 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF