Project

General

Profile

Actions

Bug #55093

closed

Simulate time in TYPO3 admin panel broken due to Js TBE_EDITOR=="undefined"

Added by Peter Niederlag over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-01-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Problem description

It is not possible to simulate a different date/time for the Frontend via the Admin-Panel.

Regardless of the format/string used to input the date it will be cleared after hitting the "Update"-Button and $GLOBALS['SIM_ACCESS_TIME'] will not be set.

Expected behaviour

The field used to behave like all date/time fields in TYPO3. You can enter 'n', 'd' or 't' to get current date or even add simple calculations like 'd+13' or 'd-10'. The JS will take care of updating the hidden field and transform the value into a unix timestamp and display a proper formatted date string (M:i d.m.Y).

You can also set a date in the format M:i d.m.Y

Problem Analysis

There is a fatal error in jsfunc_evalfield.js in a default installation without fe-editing enabled.

Uncaught ReferenceError: TBE_EDITOR is not defined)

Probably this problem disappears with Fe-Editing enabled or other additional extensions.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #23935: Simulate time in the TYPO3 admin panel is being ignored.Closed2010-11-04

Actions
Related to TYPO3 Core - Bug #57296: TCA user defined JS eval function not called anymoreClosedAlexander Opitz2014-03-25

Actions
Actions

Also available in: Atom PDF