Home > Structure > English > Manuals > p-admin manuals > HowTo > Create a factinclude of a folder for easy fact publishing
A newer version of this fact exists. (view)
Create a factinclude of a folder for easy fact publishing
 

You can make a fact, from which users can easily add content that go in specified folders and in the same time to have an overview of the folders. In order to do so:

 

|1| Start createing a text fact and convert in HTML-mode.

 

|2| Copy and paste the following code:

 

 

<html>
<style type="text/css">
.f_link{
color: #ff8000;
font-family: myriad pro;
font-size: 18px;
font-weight: bold;
text-decoration: none;
text-align: center;
}
.my_table{
width: 700px;
border: 2px solid #ff8000;
border-collapse:collapse;
background-color: #ffffff;
}
.my_table td{
width: 350px;
padding: 5px;
}
</style>
<table class="my_table" cellspacing="1" border="1">
<tbody>
<tr>
<td valign="top">
<p><factlink 1546209.0 class="f_link"/><br/></p>
<br/>
<p><factinclude 1546209.0 display="title" editinclude="1" includeall="1"  nobreak="1"/></p>
</td>
<td  valign="top">
<p><factlink 1546208.0 class="f_link"/></p>
<br/>
<p><factinclude 1546208.0 display="title" editinclude="1" includeall="1"  nobreak="1"/></p>
</td>
</tr>
</tbody>
</table>
</html>

 

|3| Replace the highlighted infoIDs with the ones of the desired folders.

 

We use the factinclude for folders tags to get the following result:

 

folder_include_howTo.PNG - 1546238.1

 

When clicking on "add" all created facts go in the specified folder.

 

You can include and the facts' content as specifying display="text".

 





Metainfo:
Author: factline Webservices GmbH; Copyright: factline Webservices GmbH; Published by: factline Webservices (factline5)
factID: 1546236.3 (...history); published on 23 Nov. 2010 08:58
 
Shortcuts:
 
Referers (2):