Hello,
> line 41 : define("DEBUG",true);
This goes through the translation in core/classes/setup.php:
$data = str_replace("define(\"DEBUG\",true);","define(\"DEBUG\",false);",$data);
So if you're not selecting "developer" as language in the setup, "debug" should be false.
> well i don't understand well those last lines, is it in the xml files ? in a php file ?
Yes in sgsML, e.g.:
<viewbutton views="all" name="my_button" displayname="Do sth" onclick="ajax('myclass_ajax::my_function', [parameters], function(result) {
// do sth
});" right="read" />
"myclass_ajax::my_function" will be called as PHP code.
bye
Thomas
On Sep 7, 2010 2:20pm, lb gmail <
lauren...@gmail.com> wrote:
> Thomas a écrit :
>
>
> Hello,
>
>
>
> A) looks like you've activated the debug mode, see "/
>
> simple_store/config.php":
>
> define('DEBUG',true);
>
>
>
>
> not me!:-}
>
> decompressing the tarball i ve got in src/core/setup.php
>
> line 41 : define("DEBUG",true);
>
> line 593 : "MENU_AUTOHIDE"=>"false","TREE_AUTOHIDE"=>"false","DEBUG"=>(DEBUG?"true":"false"),
>
>
>
>
>
>
> should be:
>
> define('DEBUG',false);
>
>
>
> B) This works for me with 0.642.
>
> To use folders.xml, you need to set "install demo folders" in the
>
> setup and the table simple_sys_tree needs to be empty.
>
> To use folders_minimal.xml, you may not set "install demo folders" in
>
> the setup.
>
>
>
>
> i m going to have a try
>
>
>
>
>
>
> C) That's in progress:
>
>
http://www.simple-groupware.de/cms/SgsMLReference>
>
>
>
> wonderfull !!!!
>
>
>
>
>
>
> D) You can add a button with this code in sgsML:
>
>
> onclick="locate('my_file.php');" right="read" />
>
>
>
>
> ok
>
>
>
>
>
>
> instead of locate(), you can also use ajax:
>
> ajax('myclass_ajax::my_function', [parameters], function(result) {
>
> // do sth
>
> });
>
>
>
>
> well i don't understand well those last lines, is it in the xml files ? in a php file ?
>
>
>
>
>
> PS:
>
> Since more than 2 years that i use your products in my lab, i ve always been surprised (in the best sense) about the speed and the accuracy of your answers!
>
> Sometimes it worth to say that we're happy with something :-}
>
>
>
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "Simple Groupware" group.
>
> To post to this group, send email to
simple-g...@googlegroups.com.
>
> To unsubscribe from this group, send email to
simple-groupwa...@googlegroups.com.
>
> For more options, visit this group at
http://groups.google.com/group/simple-groupware?hl=en.
>
>
>
>