Project

General

Profile

Actions

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.

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

0%

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

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

publish.php (5.75 KB) publish.php Administrator Admin, 2007-01-05 04:31
Actions #1

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!

Actions #2

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.

Actions #3

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?

Actions #4

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF