In the mean time i tried this :
The steps:
1) In the template Dataface_TableView.html i add:
_currentTable}','win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no, resizable=yes,width=640,height=480, directories=no,location=no');" title="Print"> 2) Create the print,php file:
This is the same as the index.php file but add the next lines before the display routine:
$app =& Dataface_Application::getInstance();
$conf = array();
$conf = array_merge(parse_ini_file('conf_small.ini', true), $conf);
$app->_conf = $conf;
3) Define the conf_small.ini file
hide_search="1"
hide_view_tabs="1"
hide_table_result_stats="1"
hide_result_controller="1"
hide_nav_menu="1"
Almost everyrhing works.. except:
- There is no 'hide_logo' keyword no 'hide_ global_footer" keyword.
so the logo and the footer are displayed.
I can make a version with a differend template definition.
Is it handy to build this possibility in dataface ?
Greetings,
Nico