ReStructured Text Infrastructurewiki.typo3.orgOfficial Documentation

Bug #30011

Error in example provided in the "Skinning API" Section

Added by Presedo Roberto over 1 year ago. Updated 10 months ago.

Status:New Start date:2011-09-19
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 1 (View)

Description

In the "Skinning API" (http://typo3.org/documentation/document-library/core-documentation/doc_core_skinning/1.0.0/view/1/4/), the example provided is not working :

$GLOBALS['TBE_STYLES']['skins']['t3skin_improved'] = array();
$GLOBALS['TBE_STYLES']['skins']['t3skin_improved']['name'] = 'My improved t3skin';
$GLOBALS['TBE_STYLES']['skins']['t3skin_improved']['stylesheetDirectories'] = array(
    'structure' => 'EXT:t3skin_improved/stylesheets/structure',
    'visual' => 'EXT:t3skin_improved/stylesheets/visual',
);

slashes at the end of the folder's paths are required

$GLOBALS['TBE_STYLES']['skins']['t3skin_improved'] = array();
$GLOBALS['TBE_STYLES']['skins']['t3skin_improved']['name'] = 'My improved t3skin';
$GLOBALS['TBE_STYLES']['skins']['t3skin_improved']['stylesheetDirectories'] = array(
    'structure' => 'EXT:t3skin_improved/stylesheets/structure/',
    'visual' => 'EXT:t3skin_improved/stylesheets/visual/',
);

(Tested on TYPO3 4.6 Beta 2)

History

Updated by Francois Suter over 1 year ago

  • Target version deleted (820)

Updated by Andreas Kiessling 10 months ago

Just stumbled up on this one too.
Would be nice to have this fixed.

Also available in: Atom PDF