How can we include sc macros in code area for php buttons?
The code snippets are not there, but you can simply type the code in.
Well using any macro does nothing so most likely it;s not included properly maybe only macros signatures are included since there is no error about unknown function.
Okay the only workaround solution is to use a library with macros functions… do not know if this is a bug or a non-implemented thing.
It depends on the macro’s you want to use. Not all are available at the same time. But the db macros do work.
sc_exec_sql is not working, sc_ajax_message sc_error message same not working
Please move this thread and the one with ‘log issue’ to bugs area.