Salut
Je me pencherai vers AJAX + Jquery
++
Wismer
type="Searchable" ?
Réduire
X
-
type="Searchable" ?
Bonjour un petit suite a une recherche.
J'utilise une fonction header du type searchable cela fonctionne bien mais le problème est que le résultat s'affiche sans template.
Pour info j'utilise FOF3
Par quoi dois-je remplacer tmpl = component pour que le résultat de ma recherche s'affiche sur la même page ?
<div id="borrowings" class="borrowings">
<h2> <?php echo JText::_('PAST_BORROW'); ?></h2>
<div>
<?php
$config = [
'view' => 'Borrowings',
'filter_order' => 'borrow_from',
'filter_order_Dir' => 'DESC',
'layout' => 'profile',
'tmpl' => 'component',
'task' => 'browse',
'limit' => $member->list_max,
'nglibrary_member_id' => $member->getId(),
'render_toolbar' => false
];
FOF30\Container\Container::getInstance('com_nglibr ary', [
'tempInstance' => true,
'input' => $config
])->dispatcher->dispatch();
?>
</div>
</div>
<header name="title" type="Searchable" sortable="false" />Tags: Aucun
Annonce
Réduire
Aucune annonce pour le moment.
Laisser un commentaire: