hi,
i also experienced this strange problem.
i think the module's advanced search and popup search uses only
one common template. if you open first the module's popup, both will use the popup search. and if you open first the advanced search, both will use the advanced search template.
thanks to Andre, his code works, i just added PHP Code:
parent::display();
after the last line.
i will try if the same fix will work in view.popup.php.
my view.list.php
PHP Code:
<?php
require_once('include/MVC/View/views/view.list.php');
class ContactsViewList extends ViewList{
function ContactsViewList(){
parent::ViewList();
}
function display(){
//from Andopes -START
require_once('modules/Administration/QuickRepairAndRebuild.php');
$selected_actions = Array(0 => 'clearTpls');
$modules = Array(0 => 'Contacts');
$RepairAndClear = new RepairAndClear();
$RepairAndClear->repairAndClearAll($selected_actions, $modules, $autoexecute=false, $show_output=false);
//from Andopes -END
parent::display();
}
}
?>
thanks..
Bookmarks