This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
43 Posts
ostap
2 months 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 VIP membership
1096 Posts
Bucklash
2 months 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

43 Posts
ostap
2 months 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