Feature #60522
closedSorting of custom records in List Module
0%
Description
If I add custom records to the page module with $TYPO3_CONF_VARS['EXTCONF']['cms']['db_layout']['addTables'] sorting is not possible.
the makeOrdinaryList function makes a call to $this->fwd_rwd_nav() but I dont get the Logic behind it, as it always return an array with two elements (0=>1, 1=>0)
while ($row = $this->getDatabase()->sql_fetch_assoc($result)) { BackendUtility::workspaceOL($table, $row); if (is_array($row)) { *list($flag, $code) = $this->fwd_rwd_nav(); $out .= $code;* if ($flag) { $params = '&edit[' . $table . '][' . $row['uid'] . ']=edit'; $Nrow = array(); // Setting icons links if ($icon) { $Nrow['__cmds__'] = $this->getIcon($table, $row); } // Get values: $Nrow = $this->dataFields($this->fieldArray, $table, $row, $Nrow); // Attach edit icon if ($this->doEdit) { $Nrow['__editIconLink__'] = '<a href="#" onclick="' . htmlspecialchars( BackendUtility::editOnClick($params, $this->backPath)) . '" title="' . $this->getLanguageService()->getLL('edit', TRUE) . '">' . IconUtility::getSpriteIcon('actions-document-open') . '</a>'; } else { $Nrow['__editIconLink__'] = $this->noEditIcon(); } $out .= $this->addelement(1, '', $Nrow, 'class="db_list_normal"'); } $this->eCounter++; } }
This is the only thing that prevents me from disabling the list module entirely in my use cases. I think it would be a great addition to typo3 because most editors are somehow confused when i explain the difference between the list and the page module to them.
I tried to implement it myself, but I failed because I don't understand enough of the typo3 core
Updated by christian rauch over 10 years ago
sorry about the stars in the code example... wanted to make it bold but of course this doesn't work in a pre section
Updated by Riccardo De Contardi almost 9 years ago
- Category set to Backend User Interface
Updated by Christian Kuhn over 7 years ago
- Status changed from New to Rejected
rejecting:
no further info for a long time, the issue is sort-of unclear, and i'm totally unsure on what is actually meant.
if you think we should re-discuss this issue, please open a new one.
Updated by Benni Mack over 4 years ago
- Sprint Focus changed from PRC to Needs Decision
Updated by christian rauch over 4 years ago
Oh, this was a long time ago :-)
It was an idea for the record listing in the page module. I still don't like (explaining) the concept of the separated page and list module, but this would be an epic change. For now i help my editors with only showing the (for the list module) relevant Tables and hiding everything else with Tsconfig hideTables
Record listing does not exist anymore anyway
https://docs.typo3.org/c/typo3/cms-core/10.2/en-us/Changelog/8.4/Deprecation-77987-DeprecatedRecordListingInPageModule.html
so this can be closed