Feature #16824
closed
EXT:cms/tslib/publish.php is not hookable or XCLASSable
Added by Alexey Boriskin almost 18 years ago.
Updated about 11 years ago.
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
Can you please tell, where you would like to have a hook and for which purpose? Thanks!
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.
- 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?
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Also available in: Atom
PDF