Project

General

Profile

Actions

Bug #20315

closed

addEnableColumns-hook in class t3lib_page not working for pages

Added by Julian Hofmann over 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-04-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I wanted to extend access control for fe-users. I found the
addEnableColumns-hook in t3lib_page::enableFields(). There's the
following comment:
"It is used by the extension ingmar_accessctrl which enables assigning
more than one usergroup to content and page records". So, it should be
useful for my plan.

But I do not get the hook working for page-records. In some cases this
hooks seems to work, in others it doesn't. I looked in the core and it
seems, there have been lots of changes since this hook was implemented.
The functionality of Ingmar's extension is now part of the TYPO3 core.
And the function enableFields() seems to need TCA for working - but the
TCA is (now) filled after querying page records. Only a few requests on
pages-table are done after filling the TCA.

So, in fact, the hook can't be used for pages.

(issue imported from #M10907)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #20261: enableFields is missing a hook to manipulate the generated clauseClosedGeorg Ringer2009-04-01

Actions
Actions

Also available in: Atom PDF