[TYPO3-project-formidable] singleview from listview

Sanosuke303 sanosuke303 at yahoo.fr
Wed May 21 21:09:14 CEST 2008


Hello, 

If have understood, you want to have a link in the list for each line?

You can add a column with a link :
<column name="edit" listHeader="Edit an element" label="Editing" type="renderlet:LINK">
	<url>
	  <userobj>
		<php><![CDATA[
		  $aRowData = $this->oDataHandler->_getListData();
		  return t3lib_div::locationHeaderUrl(
		    $this->_oParent->pi_getPageLink(
			$GLOBALS["TSFE"]->id,
			"",
			array("mode" => 2,"uid" => $aRowData['uid'])
		    )
		  );
		  ]]></php>
	  </userobj>
	 </url>
</column>

This code add a link to the same page with the id in parameter. You can modify this code to make that you want.

Regards.


--- En date de : Mer 21.5.08, orta <ortakoey at googlemail.com> a écrit :

> De: orta <ortakoey at googlemail.com>
> Objet: [TYPO3-project-formidable]  singleview from  listview
> À: typo3-project-formidable at lists.netfielders.de
> Date: Mercredi 21 Mai 2008, 16h32
> Hi,
> 
> i tried List bound to a DB  from this site 
> (http://formidable.typo3.ug/features/the-mighty-lister/list-bound-to-a-db-datasource.html)
> and it works. Is there a way to make every line a link. So
> user can link 
> to to more details?
> 
> thx
> Orta
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable

__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 


More information about the TYPO3-project-formidable mailing list