Project

General

Profile

Actions

Feature #66697

closed

Add UpperCamelCase and LowerCamelCase to stdWrap.case

Added by Frans Saris almost 9 years ago. Updated over 6 years ago.

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

100%

Estimated time:
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
    }
}
Actions #1

Updated by Gerrit Code Review almost 9 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

Actions #2

Updated by Gerrit Code Review almost 9 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

Actions #3

Updated by Gerrit Code Review almost 9 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

Actions #4

Updated by Frans Saris almost 9 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF