51 Posts
ostap
5 years ago
2
Topic

I use Codec Pack ("BeforeRender"field). It would be convenient for me to put the code in an external file, which is connected in the "Before Render" field with the "include"instruction. (This is useful for editing code in the editor.)

Is it possible? Of course, I would like to use a relative path, but it is not clear where the code is run from.

Get a Book for SEBLOD
1283 Posts
Bucklash
5 years ago
1
Level 1

Hi

I put all my beforerender and beforestore and afterstore code in a folder in the libraries folder i.e 

libraries/fretroom/article/receipt/receipt_as_map.php

51 Posts
ostap
5 years ago
0
Level 2

Sorry, I was stupid. There is also a certain mode: 

http://prntscr.com/mjdwu1

I always used only the "Free"mode"

Get a VIP membership