Loading...
 
Galaxia Workflow Engine

Galaxia Workflow Engine


Workflow Dev outside Tikiwiki interface

Hello all,
I am developing some custom Galaxia workflows for use in TikiWiki 1.9. I have learned much about the Smarty and galaxia systems in the past few days. I would like some input on how to develop these processes in external editors.

And I can find the PHP code and .tpl Smarty templates in various places. However this must be compiled before its placed on the live site. I want to edit the PHP and Smarty Template in an external editor (syntax highlighting!). What files would I directly edit and how can I manually invoke the Smarty compile?

Thanks
-Dale

Brazil

> Hello all,
> I am developing some custom Galaxia workflows for use in TikiWiki 1.9. I have learned much about the Smarty and galaxia systems in the past few days. I would like some input on how to develop these processes in external editors.
>
> And I can find the PHP code and .tpl Smarty templates in various places. However this must be compiled before its placed on the live site. I want to edit the PHP and Smarty Template in an external editor (syntax highlighting!). What files would I directly edit and how can I manually invoke the Smarty compile?
>
> Thanks
> -Dale

Hmm,
I believe this is actually simpler than you think.
There's no need to compile anything by yourself. When you save the code or the template through the GUI, TikiWiki will compile everything for you.
All you need to do is 1)create your code with editor of your choice, 2)copy the code to the clipboard, and 3)paste it into the textarea in the GUI. Save, and it's ready to run.
I use SciTE. It has syntax highlighting, auto-indenting, supports multiple files with tabs, supports MANY MANY languages etc. It looks like hell when you first install it, but after you configure it it's simply SWEET. I can send my configuration file to you if you want. Regards,

Georger


Hey Georger,
What I wanted to do was edit the files directly so I did not have to use the GUI to compile. So either edit the php file and the tpl file, then invoke a compile. Or edit/save the files directly used by Tiki so I can immediatly check my workflow.

I'm sure theres some way to do this, i'm just too lazy at the moment to trash through the source and find it.

Thanks
-Dale

BTW, thanks for the Univeristy Exam XML! It is most helpful!

Brazil

Hi dliszka9,
now I understand what you want to do. I guess you could fetch the compilation code from the Galaxia libs and hack a CLI script, but that way you would lose LOTS of TikiWiki context information. It probably wouldn't be worth the trouble, I guess.
I'm happy you liked Univerisity Admission Exam. I hope it helps you implement your own processes. Regards,

Georger

> Hey Georger,
> What I wanted to do was edit the files directly so I did not have to use the GUI to compile. So either edit the php file and the tpl file, then invoke a compile. Or edit/save the files directly used by Tiki so I can immediatly check my workflow.
>
> I'm sure theres some way to do this, i'm just too lazy at the moment to trash through the source and find it.
>
> Thanks
> -Dale
>
> BTW, thanks for the Univeristy Exam XML! It is most helpful!