[TYPO3-core] RFC #9094: Make simulate static a system extension
Benjamin Mack
benni at typo3.org
Fri Aug 1 02:35:27 CEST 2008
Hey all,
this is a SVN patch request.
Branches: trunk only
Type: Feature / cleanup
BT reference: http://bugs.typo3.org/view.php?id=9094
Problem: 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.
Solution: 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
Notes:
* 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.
* Although the patch contains all script changes, I attached the
extension itself so you have the manual and the ext_icon.gif as well.
* I registered "simulatestatic" on typo3.org for now, don't know how to
handle this.
--
greetings,
benni.
-SDG-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20080731_simulatestatic_as_sysext.patch
Type: text/x-diff
Size: 44267 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080731/9b6fd33e/attachment-0001.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: T3X_simulatestatic-1_0_0-z-200807250001.t3x
Type: application/octet-stream
Size: 47128 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080731/9b6fd33e/attachment-0001.obj
More information about the TYPO3-team-core
mailing list