I am using the manager actions in a module I am
developing so my client has an alternate interface
than the document tree.
One I am trying to use is "Preview Document" and the old wiki
manager action list indicates to use ’100’.
Well, 100 shows a plugin execution order when applied to a
document instead of previewing the document.
All other manager actions are working fine...
is this an error in the docs or am I doing something wrong?
TIA
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
-
☆ A M B ☆
- 24,524 Posts
The Preview feature is now a javascript; the preview button includes this code
onclick="<?php echo "window.open('../index.php?id=$id','previeWin')"?>"
So basically it just opens another window with the page displayed from the front-end. The only reason there’s php there is to use the $id variable to specify the document id to view.
Thanks a lot Susan, I will give it a try...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner