[TYPO3-german]  Re:  TS: userfunc mit Ergebnis von select füttern
    Boris Degenhardt 
    degenhardt at visor3000.com
       
    Thu Sep  4 17:07:48 CEST 2008
    
    
  
Boris Degenhardt schrieb:
> Hallo TYPO3ler,
> ich habe folgendes TS und möchte gerne an der Stelle user= in temp.icons 
> die uid des users aus der Selectanweisung von temp.startUser an die 
> userfunc übergeben. Geht das? Und wenn wie? Hilfe wäre sehr nett...
> 
> Viele Grüße
> Boris
Sorry, vielleicht sollte ich auch das TS einbinden ;) ...
hier
includeLibs.usericons = fileadmin/template/php/usericons.php
temp.icons = USER
temp.icons {
	userFunc = user_icons->getIcons
	user =
}
temp.v3User = COA
temp.v3User {
	10 = TEMPLATE
	10.template = FILE
	10.template.file = {$html}user.html
	10.workOnSubpart = BODY
	10.marks {
		IMAGE < temp.userImage
		NAME = TEXT
		NAME.field = username
		GENUSS < temp.icons
	}	
}
temp.startUser = COA
temp.startUser {
	10 = CONTENT
	10 {
		table = fe_users
		select.max = 3
		select.where = 1=1
		select.andWhere = usergroup=2
		select.pidInList = 19
		select.sorting = crdate
		renderObj = COA
		renderObj {
			10 < temp.v3User
		}
	}
}
Gruss
Boris
    
    
More information about the TYPO3-german
mailing list