[TYPO3-core] RFC #7501: Remove Static-Templates from standard installation

Steffen Ritter info at rs-websystems.de
Tue Feb 12 15:42:26 CET 2008


Hi,

this is a SVN patch request.

Type: Bugfix/Feature (depends on the opinion)

Branches: trunk, 4.2.

Bugtracker:
	http://bugs.typo3.org/view.php?id=7501

Problem:
As discussion in dev-List titled "Moving old "static templates" to a 
sysext" pointed out, there is an overall wish to exclude outdated 
static_templates from future releases...
Based upon this and in discussion with Benjamin Mack I created a patch, 
concerning most of the things discussed.

Probably solution:
What does ist do:
- remove table and tca information about table static_templates from 
sysext cms
- remove column (sql and tca) static_template from table sys_template
- create sysext statictemplates including the table definition for 
static_templates, the tca, and adds, if loaded the the missing field 
back to sys_template.
- sysext has static data integrated which user can load with ExtMgm, 
probably it should be moved to another extension.

- it implements also another plugin for the UpdateWizard of the install 
tool.
   It checks for references to static_templates (as on updates the table 
is in database and refindex knows about them). If references are found, 
sysext statictemplates is loaded. In addition it has the functionality 
to delete all static-templates which are not referenced including 
looking at depencies between static-templates (currently commentet out, 
probably for later versions)
  If no reference is found it hints the user that he might delete the 
static_templates with the compare function of install tool.

I hope I Did not miss anything

---------------------------------
IMPORTANT: Because static SQL data gets removed in on file and is added 
to another the patch file is > 1MB so I could not attach it!
You will find it in BT
--------------------------------

kind regards

Steffen


More information about the TYPO3-team-core mailing list