diff --git a/inc/documenter_objet.php b/inc/documenter_objet.php
index 7235e26ca45fbbf0c59c66acf1cf5d45ffce3c31..7066b6dc7ff23ec6ac02aee93144669d9733214a 100644
--- a/inc/documenter_objet.php
+++ b/inc/documenter_objet.php
@@ -13,7 +13,7 @@
 if (!defined("_ECRIRE_INC_VERSION")) return;
 
 // http://doc.spip.org/@naviguer_doc
-function inc_documenter_objet_dist($id, $type = "article", $script, $flag_editable=true) {
+function inc_documenter_objet_dist($id, $type) {
 	$serveur = '';
 	// avant de documenter un objet, on verifie que ses documents vus sont bien lies !
 	$spip_table_objet = table_objet_sql($type);
diff --git a/medias_pipelines.php b/medias_pipelines.php
index afbb9c56259090ab27d7d9c1827ad0ce88359640..5e838532bccf786ef4047f069c7427002560bd38 100644
--- a/medias_pipelines.php
+++ b/medias_pipelines.php
@@ -87,6 +87,22 @@ $GLOBALS['medias_exec_colonne_document'][] = 'articles_edit';
 $GLOBALS['medias_exec_colonne_document'][] = 'breves_edit';
 $GLOBALS['medias_exec_colonne_document'][] = 'rubriques_edit';
 
+/**
+ * Pipeline afficher_complement_objet
+ * afficher le portfolio et ajout de document sur les fiches objet (article, rubrique..)
+ * 
+ * @param  $flux
+ * @return
+ */
+function medias_afficher_complement_objet($flux){
+	if ($type=$flux['args']['type']
+		AND $id=intval($flux['args']['id'])) {
+		$documenter_objet = charger_fonction('documenter_objet','inc');
+		$flux['data'] .= $documenter_objet($id,$type);
+	}
+	return $flux['data'];
+}
+
 function medias_affiche_gauche($flux){
 	if (in_array($flux['args']['exec'],$GLOBALS['medias_exec_colonne_document'])
 		AND $table = preg_replace(",_edit$,","",$flux['args']['exec'])
diff --git a/plugin.xml b/plugin.xml
index b029cbf3315fcc71204772331f5a586bb822f877..0475f7058db94df294e1853578abea592f552d15 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -33,6 +33,10 @@
 		<nom>affiche_gauche</nom>
 		<inclure>medias_pipelines.php</inclure>
 	</pipeline>
+	<pipeline>
+		<nom>afficher_complement_objet</nom>
+		<inclure>medias_pipelines.php</inclure>
+	</pipeline>
 	<pipeline>
 		<nom>header_prive</nom>
 		<action>modalbox_insert_head</action>