Bug #24335 » 16738_recycler_usage.patch
typo3/sysext/recycler/res/js/t3_recycler.js (revision ) | ||
---|---|---|
border: false,
|
||
defaults: {autoScroll: false},
|
||
plain: true,
|
||
|
||
initComponent : function() {
|
||
Ext.apply(this, {
|
||
id: 'delRecordId',
|
||
stateful: true,
|
||
stateId: 'recyclerGrid',
|
||
stateEvents: ['columnmove', 'columnresize', 'sortchange', 'groupchange'],
|
||
loadMask: true,
|
||
stripeRows: true,
|
||
collapsible: false,
|
||
... | ... | |
****************************************************/
|
||
xtype: 'combo',
|
||
stateful: true,
|
||
stateId: 'depthCombo',
|
||
stateEvents: ['select'],
|
||
width: 150,
|
||
lazyRender: true,
|
||
valueField: 'depth',
|
||
... | ... | |
xtype: 'combo',
|
||
lazyRender: true,
|
||
stateful: true,
|
||
stateId: 'tableCombo',
|
||
stateEvents: ['select'],
|
||
valueField: 'valueField',
|
||
displayField: 'tableTitle',
|
||
id: 'tableSelector',
|
||
... | ... | |
};
|
||
Ext.onReady(function(){
|
||
//save states in BE_USER->uc
|
||
Ext.state.Manager.setProvider(new TYPO3.state.ExtDirectProvider({
|
||
key: 'moduleData.web_recycler.States'
|
||
}));
|
||
if (Ext.isObject(TYPO3.settings.Recycler.States)) {
|
||
Ext.state.Manager.getProvider().initState(TYPO3.settings.Recycler.States);
|
||
}
|
||
// disable loadindicator
|
||
Ext.UpdateManager.defaults.showLoadIndicator = false;
|
||
// fire recycler grid
|
typo3/sysext/recycler/mod1/index.php (revision ) | ||
---|---|---|
$this->doc = t3lib_div::makeInstance('template');
|
||
$this->doc->setModuleTemplate(t3lib_extMgm::extPath('recycler') . 'mod1/mod_template.html');
|
||
$this->doc->backPath = $GLOBALS['BACK_PATH'];
|
||
$this->doc->setExtDirectStateProvider();
|
||
$this->pageRenderer = $this->doc->getPageRenderer();
|
||
... | ... | |
'deleteDisable' => $this->allowDelete ? 0 : 1,
|
||
'depthSelection' => $this->getDataFromSession('depthSelection', 0),
|
||
'tableSelection' => $this->getDataFromSession('tableSelection', 'pages'),
|
||
'States' => $GLOBALS['BE_USER']->uc['moduleData']['web_recycler']['States'],
|
||
);
|
||
return $configuration;
|
||
}
|
- « Previous
- 1
- 2
- Next »