Feature #16824
closedEXT:cms/tslib/publish.php is not hookable or XCLASSable
0%
Description
I want to make an extension that changes behavior of EXT:cms/tslib/publish.php, but this file doesn't contain a class. publish.php is require()'d in EXT:cms/tslib/index_ts.php without any hook. So I can only patch publish.php, and cannot release my changes as an extension.
(issue imported from #M4726)
Files
Updated by Oliver Hader almost 18 years ago
Can you please tell, where you would like to have a hook and for which purpose? Thanks!
Updated by Alexey Boriskin almost 18 years ago
I had attached my patched publish.php. Currently publishing is done using simulateStaticDocuments style: pages are written to files named "Page.1.0.html", "Support.200.0.html", etc...
I tried to make it realurl-style compatible. Current code in attached file works, but this code is not absolutely safe and clean because I didn't make some checks, etc.
Updated by Alexander Opitz over 11 years ago
- Category deleted (
Communication) - Status changed from New to Needs Feedback
- Target version deleted (
0) - PHP Version deleted (
4)
As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.