Einzelnen Beitrag anzeigen
  #7  
Alt 17.03.06, 20:06
Benutzerbild von maxhb
maxhb maxhb ist offline
TYPO3 Forum Team
Moderator
 
Registriert seit: 19.08.04
Ort: Bremen
Alter: 36
Beiträge: 1.535

Zitat:
Zitat von biesi
schade, das es nicht 'so einfach' per typoscript geht...
Ja, das ist wirklich dumm, aber mit PHP kommt man ja schnell zum Ziel:

In der Datei ..../typo3/sysext/cms/layout/db_new_content_el.php findest du ca. in Zeile 398 die Methode wizardArray()
In dieser Methode könntest du (bitte macht das zu Hause nicht nach!!!) das Array $wizardItems etwa folgendermaßen ergänzen:

PHP-Code:
function wizardArray() {
...
            
'common_2' => array(
                
'icon'=>'gfx/c_wiz/text_image_below.gif',
                
'title'=>$LANG->getLL('common_2_title'),
                
'description'=>$LANG->getLL('common_2_description'),
                
'tt_content_defValues' => array(
                    
'CType' => 'textpic',
                    
'imageorient' => 8
                
)
            ),
// Anpassungen START
            
'common_2a' => array(
                
'icon'=>'gfx/c_wiz/text_image_below.gif',
                
'title'=>'Text mit Bild oben links',
                
'description'=>'Na was schon?!',
                
'tt_content_defValues' => array(
                    
'CType' => 'textpic',
                    
'imageorient' => 2
                
)
            ),
            
'common_2b' => array(
                
'icon'=>'gfx/c_wiz/text_image_below.gif',
                
'title'=>'Text mit Bild unten links',
                
'description'=>'Na was schon?!',
                
'tt_content_defValues' => array(
                    
'CType' => 'textpic',
                    
'imageorient' => 10
                
)
            ),
// Anpassungen ENDE
            
'common_3' => array(
                
'icon'=>'gfx/c_wiz/text_image_right.gif',
                
'title'=>$LANG->getLL('common_3_title'),
                
'description'=>$LANG->getLL('common_3_description'),
                
'tt_content_defValues' => array(
                    
'CType' => 'textpic',
                    
'imageorient' => 17
                
)
            ),... 
Das ist so sicherlich noch nicht sauber (u.a. dier Sache mit den Übersetzungen), aber es sollte Dier eine Idee davon vermitteln, wie einfach Deine Wünsche mit Typo3 zu erfüllen sind

CU
maxhb
__________________
FreeBSD || MySQL 5.x || TYPO3 3.6 - 4.2

Meine Stadt, meine Firma, mein Redaktionssystem.

Geändert von Junior (18.03.06 um 08:34 Uhr).
Mit Zitat antworten