Home > Struktur > English > Manuals > p-admin manuals > HowTo > Customize the appearance of a fact with an itemtemplate
Eine neuere Version dieses Facts existiert bereits.. (anzeigen:)

Customize the appearance of a fact with an itemtemplate
 

Let's view an example how to use itemtemplate in a factinclude in order to extract specific information from a fact and to design it in a particular way:


 


(1) A normal fact:


 



 


(2) An exaple code for a template:


 









<html>


<style>
.includeimage img {
width: 180px;
height: 60px;
}
</style>


 


<div style="border: 1px solid black;">


<h1><titile/></h1>


<div style="float: left;"><image/></div>


<p style="width: 150px; height:80px;"><text cuttext="450"/></p>


<h1><link/></h1>


<a href="/<id/>.<v/>">read more</a>


<br clear="all">
<link/>


 


</div>
</html>



 


 


(3) A view of the fact with this itemtemplate:


 






Metainfo:
AutorIn: factline Webservices GmbH; Copyright: factline Webservices GmbH; Publiziert von: Webservices factline 4 (factline4)
infoID: 1546197.4 (...Archiv); Publiziert am 24 Sep. 2012 12:06
 
Verknüpfungen:
Struktur  >  English  >  Manuals  >  p-admin manuals  >  HowTo 
 
Referers (1):
Itemtemplate as parameter24 Nov. 2010factlink