Hi Manuel Bachl,

Manuel Bachl wrote:

> Hallo Herr Gampe,
> 
> vielen dank für die Antwort. Klingt natürlich plausibel, aber ich fürchte
> ich stelle mich gerade zu dumm an:

Also ich habe folgendes im Einsatz:
    lib.renderProduktDetail = CONTENT                                           
                    
    lib.renderProduktDetail {                                                   
                    
        table = tt_content                                                      
                    
        # either current page or page passed via cObject viewhelper             
                    
        select.pidInList.data = GP:currentpage                                  
                    
        select.pidInList.intval = 1                                             
                    
        select.pidInList.ifEmpty.current = 1                                    
                    
    }    


Bist du dir sicher, dass auch wirklich ein Integer übergeben wird?

Probiere mal folgendes (ganz am Ende deines Templates):
lib.clientdescription >
lib.clientdescription = TEXT
lib.clientdescription.data = debug:data

Rufe die Seite dann auf. Es sollte jetzt eine Tabelle mit den Inhalten von 
$data ausgegeben werden. Dort sollte jetzt nur dein Integer stehen.
z.B. 0 => 5 für die Seite mit der pid 5.

> 
> alle unten genannten Varianten funktionieren nicht:
> 
> lib.clientdescription = CONTENT
> lib.clientdescription {
>     table = tt_content
>     select {
>         pidInList.current = 1
>         pidInList = |
>         orderBy = sorting
>         languageField = sys_language_uid
>         where = colPos=1
>     }
> }
> 
> lib.clientdescription = CONTENT
> lib.clientdescription {
>     table = tt_content
>     select {
>         pidInList.stdWrap.current = 1
>         pidInList = |
>         orderBy = sorting
>         languageField = sys_language_uid
>         where = colPos=1
>     }
> }
> 
> lib.clientdescription = CONTENT
> lib.clientdescription {
>     table = tt_content
>     select {
>         pidInList.current = 1
>         orderBy = sorting
>         languageField = sys_language_uid
>         where = colPos=1
>     }
> }
> 
> lib.clientdescription = CONTENT
> lib.clientdescription {
>     table = tt_content
>     select {
>         pidInList.stdWrap.current = 1
>         orderBy = sorting
>         languageField = sys_language_uid
>         where = colPos=1
>     }
> }
> 
> Ich glaube es ist einfach zu spät heute...
> Hat jemand vll. einen funktionierenden Schnipsel im Einsatz, und würde mir
> diesen bereitstellen? Vielen Dank schonmal
> 
> Grüße
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an