[TYPO3-dev] interest on enhanced API for page module?
Tapio Markula
tapio.markula at xetpoint.fi
Thu Aug 23 22:25:26 CEST 2007
Franz Holzinger kirjoitti:
> Hello,
>
> are there some extension developers who are interested in a better API
> for the page module?
>
> See the proposals at
> http://bugs.typo3.org/view.php?id=1822
In addition of that *unset* some table
function getTable($table,$id) {
$typesDisabledTables =
t3lib_div::trimExplode(',',strtolower($this->modSharedTSconfig['properties']['disabledTables']),1);
if(is_array($typesDisabledTabs))
$disabledTables = array_flip($typesDisabledTables);
$typesDisabledTables=NULL;
// check if rendering of the table is disabled - if disabled set
$table as NULL
// Load full table definition (if table can be shown):
if(!isset($disabledTables[$table])
t3lib_div::loadTCA($table);
else $table=NULL;
Especially fe_users would *not* to be show in Web > Page > Columns.
In addition it would be reasonable to get rid of some functions like
function getTable_tt_guest($id)
function getTable_tt_links($id)
}
*Totally* unnecessary, if the proposal of Franz will be accepted. *Only*
such record types, which really needs some special rendering would have
own function.
More information about the TYPO3-dev
mailing list