[TYPO3-core] RFC #16074: Add new API t3lib_befunc::helpTextArray and use it in the ExtDirect tooltips

Susanne Moog typo3 at susannemoog.de
Wed Oct 20 10:26:11 CEST 2010


On 20.10.2010 09:35, Ernesto Baschny wrote:
> Hi,
> 
> This is a SVN patch request.
> 
> Type: Cosmetic / use API
> 
> BT reference: http://bugs.typo3.org/view.php?id=16074
> 
> Branches: trunk
> 
> Problem:
> Currently the ExtDirect which fetches the tool-tip for CSH fetches the
> information on its own from the $TCA_DESCR array. It will also render
> "TYPO3 Inline Help" as a default header if none is given and will not
> render an "arrow" which used to symbolize a link to a pop-up in its content.
> 
> This is a follow-up to #16059
> 
> 
> Solution:
> This patch adds a new API function t3lib_befunc::helpTextArray which is
> then used by t3lib_befunc::helpText and also the new ExtDirect call to
> fetch the information.
> 
> The tool-tips now won't have a title anymore if there is no "alttitle"
> defined.
> 
> 
> How to test:
> Almost none CSH uses "alttile", so usually you won't see any. There are
> some examples in the Extension manager (e.g. the main titles "Loaded
> Extensions" etc).

Just from reading:

htmlspecialchars was replaced with strip_tags in Steffens version
because of the problem Helmut already posted (HTML in short texts).

Did you add the arrow icon again? It's not really useful, you can click
on the text either way to get the popup window (and on the label) and
it's pretty ugly. Goal should rather be to have shortest possible help
texts and always additional information. (Not like at the moment where
you sometimes have 15 sentences long "short" helptexts...)

Will test it in a minute.

Susanne



More information about the TYPO3-team-core mailing list