I am using the etemplate_new as suggested, but the infolog.index is not
appearing below my apps view. I want the infolog appear just like the
addressbook.addressbook_ui.view. The etemplate_old don’t generate the
infolog below the apps view anymore. So i need to use the etemplate_new. I
have the etemplate2.js included in the header but this load function isn’t
functioning, etemplate2.prototype.load. What did I missed?
I found the code in the class etemplate, block of line 210. generating the
html element div. But the script for load is not reading.
You need to do something like addressbook_ui::view:
$etpl->exec(...)
$GLOBALS['egw']->hooks->process(array(
'location' => 'infolog',
// name of your app, eg.
'app' => 'myapp',
// menuaction of your function calling, eg.
'view' => 'myapp.myapp_ui.view',
// get parameter used for id in your app, eg.
'view_id' => 'id',
));
Ralf
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers