[TYPO3-dev] Last step to wizards and solving a language bug
tapio
tapio.markula at dnainternet.net
Wed Feb 8 09:05:09 CET 2006
Hi
Typo3 has relative good wizards to define a new page and
content element. It goes always 1,2,3 - ready.
What a newbee migh want is explicit information for the
all steps
Page
1: Select a position for the new page
2: Define at least the page title and save
The latter is missing
For content
1: Select type of content element:
2: Select position:
3: Define title and/or other fields for the content element and save
The third advice is missing. That should put into alt_doc.php
Very easy if using the wizard could be send as parameter for example
'new_page_wiz=1' or 'new_content_wiz=1'
Does this sound reasonable?
BWT. I got solved the language problem in my plugin. I must
use $GLOBALS['LANG']->sl(... instead of $GLOBALS['TSFE']->sl(...
But the the function function editIcons still works inconsistent
compared with edit panels
function editIcons(...
...
if ($GLOBALS['TSFE']->displayFieldEditIcons && $table && $mayEdit &&
$fieldList) {
style="'.htmlspecialchars($conf['styleAttribute']).'"' : '';
...
$iconTitle = $this->stdWrap($conf['iconTitle'],$conf['iconTitle.']);
// here is the problem
...
title="'.t3lib_div::deHSCentities(htmlspecialchars($iconTitle)).'"' //
and here
Do someone has an idea to get the icon title follown the language
information of the Backend?
Indeed there is a quick solution - just use
one title for the edit icons - usig $GLOBALS['LANG']->sL('LLL...)
In my that is better than incosistent labels.
Or is is possible somehow manipulate the language value, when the $conf
could get proper language?
$GLOBALS['TSFE']['something'] = $GLOBALS['LANG']['something'];
More information about the TYPO3-dev
mailing list