Hi Folks,
Here are tvEditor and tvExplorer
I’m posting in this forum because I need help to figure out an issue with browse document feature in tvEditor.
The handleValue Function (in class/functions.class.php) returns an array to string conversion error but it happens only in the backend.
I’ve tried to fix it but without any success.
Any Help would be really appreciated. Fixed
WARNING:
This is still beta so I release this version without any warranty
Back up your datas First
The @BINDINGS are now displayed in tveditor module and I’ve not finished their integration So do not edit the options value fot this TV or else the @BINDINGS will be replaced by option|| ....
How to install tvEditor (if you already use the last beta see upgrade section)
- unzip tveditor_beta-08.zip
- Upload in assets/modules/ tvEditor folder
- create a new module named tvEditor (you have to refresh the page to see the new module in menu bar)
Copy and paste this code line in text area
Code:
include_once($modx->config[’base_path’] . "/assets/modules/tvEditor/tveditor.module.php");
- Run « tvEditor » et click install button
You ’ll have to define settings in configuration tab to define ditto params
How to upgrade
- unzip tveditor_beta-08.zip
- Upload in assets/modules/ tvEditor folder
- In configuration tab set tve installed to 0.
Run the Module and Click Install
in configuration tab, define ditto params
tvExplorer
Create a new a new snippet
Copy and paste the content of tvexplorer.php
I’ve written a little how to in the code
:-)
P.S: I will improve the html code of chunks in the public version
EDIT: I’ve updated the attachment
I forgot to mention that you ’ll have to modify in ditto.class.inc.php 1 line in buildUrl Function
Change:
$url = $modx->makeURL($cID, ’’, $queryString);
To:
$url = (isset($modx->documentObject[’id’])) ? $modx->makeURL($cID, ’’, $queryString) : ’index.php?id=’.$GLOBALS[’modID’].$queryString;
EDIT2: files updated see post below