[TYPO3-german] Extension "Benutzerliste", Problem bei "SingleView" Modus!!! Bitte um hilfe

denis denisschulz at gmx.net
Sat Sep 2 13:05:51 CEST 2006


Kurze Erläuterung dazu:

Das ist mein "SingleView"-Funktion

function singleView($content,$conf)	{
		$this->conf=$conf;
		$this->pi_setPiVarDefaults();
		$this->pi_loadLL();
				
			// This sets the title of the page for use in indexed search results:
		if ($this->internal['currentRow']['name']) 
$GLOBALS['TSFE']->indexedDocTitle=$this->internal['currentRow']['name'];
	
		$content='<div'.$this->pi_classParam('singleView').'>
			<H2>Ausbildungsbetrieb im Bereich 
"'.$this->getFieldContent('name').'"</H2>
			<table>
				<tr>
					<td 
nowrap="nowrap"'.$this->pi_classParam('singleView-HCell').'><p>'.$this->getFieldHeader('name').'</p></td>
					<td ><p>'.$this->getFieldContent('name').'</p></td>
				</tr>
				<tr>
					<td nowrap="nowrap" 
'.$this->pi_classParam('singleView-HCell').'><p>'.$this->getFieldHeader('zusatzname').'</p></td>
					<td ><p>'.$this->getFieldContent('zusatzname').'</p></td>
				</tr>


Er hollt die Dantensätze nicht richtig und zwar: Bei $content, <h2>HIER 
GIBT er mir meine Current Page (Aktuelle Seite)</h2> WARUM???

Und wenn ich 'name' statt 'zusatzname' als getFieldContent in der 2 
Spalte rein schreibe, bekomme ich wieder CurrentPage:

Firma: 		Firmenliste
Zusatzname:	Firmenliste
Adresse:	
Telefon:



More information about the TYPO3-german mailing list