Project

General

Profile

Actions

Feature #66255

closed

Set cHash parameter if an cHashRequiredParameters is set

Added by Philip Weweler about 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2015-04-02
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

You can define parameters that need an cHash ([FE][cHashRequiredParameters]).
But when generating links via cObj/typolink the cHash isn't automatically set. You need to force it with useCacheHash = 1

I think the cHash can set automatically. This may avoid errors at the frontend.

The patch is working with TYPO3 6.2.11

How to test
Install Tool:
-> set [FE][cHashRequiredParameters] = category

In your template:

page {
  20 = TEXT
  20 {
    typolink {
      parameter = 1
      additionalParams = &category=1
    }
  }
}


Files

cHash.patch (3.39 KB) cHash.patch Philip Weweler, 2015-04-03 00:02
Actions

Also available in: Atom PDF