adding a dummy test method/template example files using: G::RenderPage('publish', 'minimal');
This commit is contained in:
@@ -51,8 +51,7 @@ if ($RBAC->userCanAccess('PM_SETUP') == 1 || $RBAC->userCanAccess('PM_USERS') ==
|
||||
$G_TMP_MENU->AddIdRawOption('SETUP', 'setup/main', G::LoadTranslation('ID_SETUP'), '', '', '', 'x-pm-setup');
|
||||
}
|
||||
|
||||
$G_TMP_MENU->AddIdRawOption('TEST', 'test/main', 'Test', '', '', '', 'x-pm-setup');
|
||||
$G_TMP_MENU->AddIdRawOption('TEST2', 'test2/main', 'Test2', '', '', '', 'x-pm-setup');
|
||||
$G_TMP_MENU->AddIdRawOption('DESIGNER', 'designer/main', 'Designer 2', '', '', '', 'x-pm-setup');
|
||||
|
||||
// PLUGINS MENUS
|
||||
if( file_exists(PATH_CORE . 'menus/plugin.php') ) {
|
||||
|
||||
9
workflow/engine/methods/designer/main.php
Normal file
9
workflow/engine/methods/designer/main.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
$G_MAIN_MENU = 'processmaker';
|
||||
$G_ID_MENU_SELECTED = 'DESIGNER';
|
||||
$G_PUBLISH = new Publisher();
|
||||
|
||||
$G_PUBLISH->AddContent( 'view', 'designer/main' );
|
||||
|
||||
G::RenderPage('publish', 'minimal');
|
||||
6
workflow/engine/templates/designer/main.php
Normal file
6
workflow/engine/templates/designer/main.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$sessionId = session_id();
|
||||
?>
|
||||
<h1>We can put all html code for new Designer!</h1>
|
||||
<h2>On a clean environment!!</h2>
|
||||
<h3>Session Id: <?php echo $sessionId?></h3>
|
||||
Reference in New Issue
Block a user