====== Eigene Extension, Dokumente werden in der übersetzung nur im Standard angezeigt. ======
**Lösung für Typo3 6,7 und 8:**
In dieser Datei:
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
Muss folgende Zeile:
$constraint = $query->equals($columnMap->getParentKeyFieldName(), $parentObject);
In:
if (property_exists( $parentObject, '_localizedUid' )) {
$constraint = $query->equals($columnMap->getParentKeyFieldName(), $parentObject->_getProperty('_localizedUid'));
} else {
$constraint = $query->equals($columnMap->getParentKeyFieldName(), $parentObject);
}
geändert werden!
====== Referenzieren von Inhalten verursacht, Fehlsortierung auf der gesamten Seite ======
Dieses Phänomen tritt bei der Verwendung der Extension "FLUX" auf.
Um diese Fehlsortierung abzuschalten, geht in die Datei (in etwa Zeile 630):
flux\Classes\Backend\TceMain.php
und sucht euch den Bereich:
foreach ($children as $child) {
// Perform an SQL query which directly copies the original record's sorting number to the copy.
// When not in a workspace: copy the sorting field value from original to copy.
// When in a workspace: copy the sorting field value from original to versioned record and move placeholder.
if ($GLOBALS['BE_USER']->workspace) {
// Update versioned record (which is what $parentRecord is when copy happens in workspace mode)
$this->getDatabaseConnection()->sql_query(
sprintf(
'UPDATE tt_content t, tt_content s SET t.sorting = s.sorting WHERE t.uid = %d AND s.uid = t.t3_origuid',
$child['uid']
)
);
// Update the move placeholder that was automatically created for the versioned record we updated above.
$this->getDatabaseConnection()->sql_query(
sprintf(
'UPDATE tt_content t, tt_content s SET t.sorting = s.sorting WHERE t.t3ver_oid = %d AND s.uid = t.t3ver_oid AND t.t3ver_state = -1',
$child['uid']
)
);
} else {
$this->getDatabaseConnection()->sql_query(
sprintf(
'UPDATE tt_content t, tt_content s SET t.sorting = s.sorting WHERE t.uid = %d AND s.uid = t.t3_origuid',
$child['uid']
)
);
}
$this->copySortingValueOfChildrenFromOriginalsToCopies($child);
}
Diesen komplett ausblenden!
====== Elemente rutschen aus Grid-Container ======
Dieses Phänomen tritt bei der Verwendung der Extension "FLUX" auf, mit eigenen Extensions.
Um diesen Fehler abzuschalten, geht in die Datei "ext/flux/Classes/Service/ --> ContentService.php" (in etwa Zeile 197) und tauscht:
$row['colPos'] = $relativeToRecord['colPos'];
in das:
$row['colPos'] = $relativeTo;
Zudem noch Zeile 217:
$row['colPos'] = static::COLPOS_FLUXCONTENT;
in
$row['colPos'] = $relativeTo;