TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692012-01-16T19:36:43ZTYPO3 Forge
Redmine TYPO3 Core - Bug #33230 (Closed): Cursor Icon in access modulehttp://forge.typo3.org/issues/332302012-01-16T19:36:43ZGeorg Ringer
<p>The access module got those nice red/green icons and too many people don't know that there is a cool ajax handler for changing permissions because there is no proper cursor icon.</p>
<p>patch does also some CGL cleanup</p> TYPO3 Core - Bug #31978 (Closed): tcaTree: PHP Warning: Missing argument 2 for extDirect_DataProv...http://forge.typo3.org/issues/319782011-11-22T06:51:38ZGeorg Ringer
<p>the tcatree throws an error every time it is called. I am not into ExtJS and neither into the tcaTree itself but IMO those information should be enough to fix it.</p>
<p>How to test<br />-------------<br />Install EXT:news, create at least one category and call either the category record or the plugin - both got a tca tree implemented</p>
<p>Information from debugging<br />---------------------------<br />The error comes from class t3lib_TCEforms_Tree which got an inline JS <br /><pre>
expandnode: function(node) {
top.TYPO3.BackendUserSettings.ExtDirect.addToList("tcaTrees." + this.ucId, node.attributes.uid);
}
</pre></p>
<p>Problem is that node.attributes.uid is undefined. This happens with the root node</p>
<p>Using this code to debug<br /><pre>
if (node.attributes.uid) {
top.TYPO3.BackendUserSettings.ExtDirect.addToList("tcaTrees." + this.ucId, node.attributes.uid);
} else {
alert(node);
}
</pre><br />shows 2 alert boxes with:<br /><pre>[Node xnode-27]
[Node root]
</pre></p>
<p>Possible solutions
======================<br />As already stated, I no nothing about ExtJS but there are IMO 2 possible solutions:<br />1) Use an if clause "if (node.attributes.uid) {"</p>
<p>2) Maybe it is even more simple as IMO it should be node.attributes.id as t3lib_tree_pagetree_DataProvider also uses e.g. "$node->setId('root');" The maybe wrong value is also used in TYPO3.Components.Tree.TcaCheckChangeHandler inside tree.js</p> TYPO3 Core - Task #31143 (Closed): Extension search should prioritize result where key === search...http://forge.typo3.org/issues/311432011-10-20T14:43:05ZGeorg Ringer
<p>Currently searching for "templavoila" or "news" will return many results (which is of course ok) but if a search expression matches an extension key, this result should be at first place.</p> TYPO3 Core - Feature #28568 (Closed): Hook for tslib_adminpanelhttp://forge.typo3.org/issues/285682011-07-29T14:21:59ZGeorg Ringer
<p>Add a hook to the adminpanel to make it possible to extend it without using XCLASS.</p>
<p>2 hooks have once been there but where deprecated and removed with 4.6</p>
<p>would also make sense for LTS</p> TYPO3 Core - Task #28503 (Closed): Remove senseless commenthttp://forge.typo3.org/issues/285032011-07-27T11:09:32ZGeorg Ringer
<p>The function getHash in t3lib_page got the comment <br /><pre>
IDENTICAL to the function by same name found in t3lib_page
</pre></p>
<p>This is really senseless as this <strong>is</strong> the function in t3lib_page</p> TYPO3 Core - Bug #27971 (Rejected): xliff removed hook to override locallangshttp://forge.typo3.org/issues/279712011-07-08T09:05:51ZGeorg Ringer
<p>There was a hook in t3lib_div::readLLFile() to override <strong>any</strong> locallang file by another one. The additional locallang is merged with the existing one which is very nice feature to override just one label.</p>
<p>as the l10n changed a lot with xliff, it is not just a copy paste to get hook working again.<br />previous hook was this</p>
<pre>
$overrides = array();
$fileRefWithoutExtension = preg_replace('/\.(php|xml)$/', '', $fileRef);
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'][$fileRefWithoutExtension . '.php'])) {
$overrides = array_merge($overrides, $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'][$fileRefWithoutExtension . '.php']);
}
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'][$fileRefWithoutExtension . '.xml'])) {
$overrides = array_merge($overrides, $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'][$fileRefWithoutExtension . '.xml']);
}
if (count($overrides) > 0) {
foreach ($overrides as $overrideFile) {
$languageOverrideFileName = self::getFileAbsFileName($overrideFile);
if (@is_file($languageOverrideFileName)) {
$languageOverrideArray = self::readLLXMLfile($languageOverrideFileName, $langKey, $charset);
$LOCAL_LANG = self::array_merge_recursive_overrule($LOCAL_LANG, $languageOverrideArray);
}
}
}
</pre> TYPO3 Core - Task #27940 (Closed): Deprecate not needed functions in page module http://forge.typo3.org/issues/279402011-07-07T14:02:18ZGeorg Ringer
<p>The page module can be cleaned up by removing/deprecating direct support of extensions in core which is not needed anymore because of other possibilities.</p>
<p>It is all about showing records in page module which can be achieved now with a code like that<br /><pre>
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_myext'] =
array ('default' => array(
'MENU' => 'LLL:EXT:tx_myext/locallang_db.xml:menuDefault',
'fList' => 'title,description,image',
'icon' => TRUE));
</pre></p>
<p>support for this for fe_user records is added to the config_default.php. <br />Any other extension now needs to take care of that on itself</p> TYPO3 Core - Bug #27247 (Closed): Missing Hook in extjs pagetreehttp://forge.typo3.org/issues/272472011-06-06T11:41:34ZGeorg Ringer
<p>A hook has been forgotten in implementing the page tree in extjs!</p>
<p>checkout typo3/class.webpagetree.php lines 120-127:<br /><pre>
// Call stats information hook
$stat = '';
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks'])) {
$_params = array('pages',$row['uid']);
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks'] as $_funcRef) {
$stat.=t3lib_div::callUserFunction($_funcRef,$_params,$this);
}
}
</pre></p>
<p>this hook is used in existing extensions like l10nmanager and I wanna use it too ... the correct place to add it would be class.t3lib_tree_pagetree_commands.php at about ~330.<br />be aware to implement it without applying htmlspecialchars() to its content!</p> TYPO3 Core - Bug #24975 (Closed): hsc called twice for title tag at login pagehttp://forge.typo3.org/issues/249752011-02-07T07:54:46ZGeorg Ringer
<p>htmlspecialchars is used twice on the title tag of the login page. If there is a '&' in $TYPO3_CONF_VARS['SYS']['sitename'], this looks very ugly (&).</p>
<p>How it works:<br />1) index.php calls $TBE_TEMPLATE->startPage('TYPO3 Login: ' . htmlspecialchars($TYPO3_CONF_VARS['SYS']['sitename']), FALSE);</p>
<p>2) in template.php startPage() the pagerenderer is called with $this->pageRenderer->setHtmlTag($htmlTag);</p>
<p>3) in class.t3lib_pagerenderer.php the final htmlspecialchars() is used in line 1494: 'TITLE' => $this->title ? str_replace('|', htmlspecialchars($this->title), $this->titleTag) : '',</p>
<p>So it is safe to remove the hsc() in index.php</p>
<p>(issue imported from #M17503)</p> TYPO3 Core - Bug #24770 (Closed): CSH in Flexforms of extbase exts brokenhttp://forge.typo3.org/issues/247702011-01-24T11:35:01ZGeorg Ringer
<p>It seems that CSH in flexforms is broken again but only for extbase extensions. The reason is that the key for extbase based extensions is prepended with "settings.", so it looks like "settings.width" instead of "width".</p>
<p>CSH doesn't work with "settings.width" but with "width". <br />The line in CSH file looks like<br />-----------<br /><label index="settings.orderBy.description">Define the sorting field</label><br />---------</p>
<p>of course the new API has been used and as said: it works without a dot</p>
<p>(issue imported from #M17265)</p> TYPO3 Core - Bug #24452 (Closed): tcaTree in flexforms still breakshttp://forge.typo3.org/issues/244522011-01-02T12:43:44ZGeorg Ringer
<p>Using the tcatree in flexforms shows some strange debug code because of a missing htmlspecialchars. <br />Problem is that "value="' . $row[$field] . '" />" breaks the whole layout as $row[$field] holds the complete xml structure (t3lib_TCEforms_Tree -> renderField())</p>
<p>Simple solution: Use a htmlspecialchars to fix the layout breaking but I don't know if this is a real solution.</p>
<p>My flexform setting is:<br />------------<br /> <settings.category><br /> <TCEforms><br /> <label>LLL:EXT:news2/Resources/Private/Language/locallang_be.xml:flexforms_general.category</label><br /> <config><br /> <type>select</type><br /> <renderMode>tree</renderMode><br /> <treeConfig><br /> <parentField>parentcategory</parentField><br /> <appearance><br /> <expandAll>TRUE</expandAll><br /> <showHeader>TRUE</showHeader><br /> </appearance><br /> </treeConfig><br /> <MM>tx_news2_domain_model_news_category_mm</MM><br /> <foreign_table>tx_news2_domain_model_category</foreign_table><br /> <foreign_table_where> AND (tx_news2_domain_model_category.sys_language_uid = 0 OR tx_news2_domain_model_category.l10n_parent = 0)</foreign_table_where><br /> <size>10</size><br /> <autoSizeMax>20</autoSizeMax><br /> <minitems>0</minitems><br /> <maxitems>20</maxitems><br /> </config><br /> </TCEforms><br /> </settings.category><br />------------<br />(issue imported from #M16890)</p> TYPO3 Core - Bug #21864 (Closed): overriden user settings are not visible to the userhttp://forge.typo3.org/issues/218642009-12-18T08:03:47ZGeorg Ringer
<p>It is possible to override settings in the user settings with TS. Currently this is not visible to the user because the fields are not locked. Result: A user will try to change the settings but it is not possible because not allowed.</p>
<p>To reproduce add those lines to your user tsconfig:<br />--------<br />setup.default.edit_docModuleUpload = 1<br />setup.override.edit_docModuleUpload = 1</p>
<p>setup.default.resizeTextareas_MaxHeight= 111<br />setup.override.resizeTextareas_MaxHeight= 310<br />---------</p>
<p>and go to the user settings > tab "edit & advanced functions". ´Change the text in the input field "maximal height of resizeable textareas" and save it. Changes won't be saved.</p>
<p>Apply patch and take a look at the settings again. They are now rendered with the attribute disabled="disabled"</p>
<p>(issue imported from #M13059)</p> TYPO3 Core - Bug #21651 (Closed): Forgotten flash message in user setuphttp://forge.typo3.org/issues/216512009-11-23T18:06:13ZGeorg Ringer
<p>another forgotten flash message at the bottom of the user settings holding the text "Notice! In order to activate most of these changes, please reload the backend (eg. logout and login again)."</p>
<p>(issue imported from #M12709)</p> TYPO3 Core - Bug #21585 (Closed): Flash Message to the history / changeloghttp://forge.typo3.org/issues/215852009-11-17T16:14:50ZGeorg Ringer
<p>As the flash message should be used every it this is an additional replace. Please take a look at the screenshot to know the place I am talking about</p>
<p>Maybe it would make to search for "gfx/icon_note.gif'" through the core to find every information which could be replaced with an INFO msg<br />(issue imported from #M12631)</p> TYPO3 Core - Feature #18618 (Closed): stdWrap for HMENU maxItems & minItems & beginhttp://forge.typo3.org/issues/186182008-04-14T12:23:46ZGeorg Ringer
<p>currently it is not possible to use stdWrap for maxItems, minItems & begin in HMENU</p>
<p>this can be very nice to build a page browser, example:<br />lib.mainmenu_level4 = HMENU<br />lib.mainmenu_level4 { <br /> maxItems = 6<br /> begin.data = GPvar:browse<br />}</p>
<p>(issue imported from #M8115)</p>