Feature #19178

Make simulate static a system extension

Added by Benni Mack about 13 years ago. Updated almost 11 years ago.

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

0%

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

Description

The simulate static feature is not used all the time and therefore shouldn't be in the core itself. This way we can keep our core classes smaller and have optional features as - yeah - optional packages. Therefore I created an extension "simulatestatic".

  • I extracted all the necessary parts and also added a new hook in class.tslib_fe.php. In all the other cases I made use of existing functionalities and hooks.
  • I created an updater class that installs "simulatestatic" if it's not installed yet (and realurl or cooluri aren't installed either).
  • I rewrote some configuration options to have a better structure (config.simulateStaticDocuments.paramEncoding instead of config.simulateStaticDocuments_pEnc etc) the old ones are still usable of course until TYPO3 4.5.
  • I added a manual with the configuration options

Once this is in, we also need to update the core documentation, that the old variables are now deprecated and the sysext "simulatestatic" should be used.

(issue imported from #M9094)


Files

20080731_simulatestatic_as_sysext.patch (43.2 KB) 20080731_simulatestatic_as_sysext.patch Administrator Admin, 2008-08-01 02:27
T3X_simulatestatic-1_0_0-z-200807250001.t3x (46 KB) T3X_simulatestatic-1_0_0-z-200807250001.t3x Administrator Admin, 2008-08-01 02:27
20080908_simulatestatic_as_sysext.patch (43.2 KB) 20080908_simulatestatic_as_sysext.patch Administrator Admin, 2008-09-08 22:03
20080921_simulatestatic.patch (44.2 KB) 20080921_simulatestatic.patch Administrator Admin, 2008-10-31 20:42
0009094_v5.patch (43.7 KB) 0009094_v5.patch Administrator Admin, 2008-10-31 22:12

Related issues

Related to TYPO3 Core - Bug #20027: Evaluation PATH_INFO in tslib_fe::checkAlternativeIdMethods() sets false positives and should be moved to tx_simulatestaticClosedOliver Hader2009-02-16

Actions
#1

Updated by Oliver Hader almost 13 years ago

Committed to SVN Trunk (rev. 4405)

Also available in: Atom PDF