Commit 34aa2d48 authored by Bernhard Baumrock's avatar Bernhard Baumrock

minor updates for better installation process

parent 8d04a8ce
......@@ -13,10 +13,10 @@
$info = array(
'title' => 'ProcessRockFinder',
'summary' => 'ProcessModule to test RockFinders',
'version' => 1,
'version' => 2,
'author' => 'Bernhard Baumrock, baumrock.com',
'icon' => 'bolt',
// 'requires' => ['FieldtypeRockGrid'],
'requires' => ['RockFinder'],
'page' => array(
'name' => 'rockfindertester',
......
......@@ -32,10 +32,13 @@ class ProcessRockFinder extends Process {
'tabSize' => 2,
'printMarginColumn' => false,
));
$ace->notes = "Execute on CTRL+ENTER or ALT+ENTER";
$ace->notes .= "\nThe code must return either an SQL statement or a RockFinder instance";
$f = $ace;
}
$f->notes = "Execute on CTRL+ENTER or ALT+ENTER";
$f->notes .= "\nThe code must return either an SQL statement or a RockFinder instance";
if(!$ace) $f->notes .= "\nYou can install 'InputfieldAceExtended' for better code editing";
$f->name = 'code';
$f->value = $code = $this->input->post->code ?: file_get_contents($this->config->paths->assets . 'RockGrid/tester.txt');
$f->label = 'Code to execute';
......
......@@ -6,4 +6,5 @@ $info = [
'singular' => true,
'autoload' => false,
'icon' => 'search',
'installs' => ['ProcessRockFinder'],
];
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment