I am developing a Document Management System and want to enable user to open a document for editing.
I have used PHPWord
and it does not open a document which user wants to edit.
Currently I am trying with OpenTBS
and also found no solution to edit document.
From following here documentation
include_once('tbs_class.php');
include_once('tbs_plugin_opentbs.php');
$TBS = new clsTinyButStrong;
$TBS->Plugin(TBS_INSTALL, OPENTBS_PLUGIN);
$TBS->LoadTemplate('document.odt');
$TBS->Show(OPENTBS_FILE);
It does nothing, blank page!
Also tried
$TBS->Show(OPENTBS_NOHEADER); but nothing happens.
One more question, what header
should I use here as mentioned in documentation?
header(...); // your custom headers here
Edit:- Suggest any other library for PHP, if there, which can open an ODF document for editing in browser. There is WebODF but I have this issue with it!