Hi Folks,
Here is tveditor.
(for detailed features see screenshots)
what is tvEditor:
tvEditor is a GUI for tv options editing.
Dropdown, listbox, option, listbox-multiple and radio are supported (even those containing @BINDINGS)
You can edit, add, sort tvoptions.
You can search documents for each tvs or create custom forms.
INSTALLATION:
Step 1:
- unzip tvEditor.zip
- upload in assets/modules/ the tvEditor folder (keep the name as it is=>camelCase)
- Create a new module => tveditor
Copy and paste this line in the content
include_once($modx->config['base_path'] . "/assets/modules/tvEditor/tveditor.module.php");
Step 2:
In tvEditor/snippets/ You will find several snippets
1/tvExplorer
2/tve_splitPagination
3/tve_AjaxSearch
Install each of them, keep their name as mentioned above.
To execute ditto in the backend you need to change one line in ditto.class.inc.php .
This will not affect ditto in any manner
In the buildURL() function
Change:
$url = $modx->makeURL(trim($cID), ’’, $queryString);
to:
//$url = $modx->makeURL(trim($cID), ’’, $queryString);
$url = (isset($modx->documentObject[’id’])) ? $modx->makeURL(trim($cID), ’’, $queryString) : ’index.php?id=’.$GLOBALS[’modID’].$queryString;
Add the extenders=> tve.extenders.inc.php et tvefilter.extenders.inc.php
(they are in the ditto_extenders folder) in your assets/snippet/ditto/extenders.
Once done:
-Execute le tvEditor Module
Click on the install button
This will add to your db the required chunk.
Once the module is installed, check in the configuration tab if ditto name match the name of ditto on your installation.
Now you can easily edit tv options
:-)
there are some options but my english is much too bad to give you the details
NOTE: Ditto2 is mandatory
TVs with multiple values (checkbox, listbox-multiple) must have widgets set to delimited list with value = ’,’
No other widgets is supported
SCREENSHOTS:
TVs List:
Columns can be sorted.
TV options list
Edit tv options
Edit single option
Add new options
Sort options values
Search document per tv
Form builder
Step 1: choose your template
Step 2: choose the tvs you want to search
Step 3: find the documents which matches your criteria
Etape 4 : Edit TV values
And you can edit the tvs value from the list with QE
Toutes les étapes s’effectuent sans recharger la page grace a AJAX.