Hi all,
My question is about how to modify FOP LAyout.
I colud do anything if I modify op_buttons.cfg and delete the inclusion of op_buttons_additional.cfg.
But if I wolud like to keep this inclusion, how should I arrange FreePBX in order to start to write buttons about trunks at the poit I want ?
To be more specific: my FOP should have ONLY Extensions and TRUNKS, equally sized. But the first trunk is always placed at offset 52, not 42 as I would like it were.
this is my op_buttons.cfg
{CODE()}
include => op_buttons_additional.cfg
; use this for your customizations to FOP
include => op_buttons_custom.cfg
; trunks
[rectangle]
x=492
y=32
width=491
height=564
line_width=0
line_color=10ff10
fade_color1=10ff10
fade_color2=10ff00
rnd_border=2
alpha=20
layer=bottom
; extensions
[rectangle]
x=-1
y=32
width=491
height=564
line_width=0
line_color=1010ff
fade_color1=1010ff
fade_color2=1010ff
rnd_border=2
alpha=10
layer=bottom
[LEGEND]
x=500
y=32
text=Trunks
font_size=18
font_family=Times New Roman
use_embed_fonts=1
[LEGEND]
x=10
y=32
text=Extensions
font_size=18
font_family=Arial
use_embed_fonts=1
{CODE}
and this is part of my op_buttons_dditional.cfg
{CODE()}
; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui
[SIP/2396]
Position=2
Label="2396 : First SIP Phone"
Extension=2396
Context=from-internal
Icon=4
Voicemail_Context=device
VoiceMailExt=*2396@from-internal
Panel_Context=default
[SIP/2411]
…
…
[SIP/8703901]
Position=24
Label="8703901 : Last SIP Phone"
Extension=8703901
Context=from-internal
Icon=4
Voicemail_Context=device
VoiceMailExt=*8703901@from-internal
Panel_Context=default
[Zap/1]
Position=52
Label="Zap 1"
Extension=-1
Icon=3
Panel_Context=default
[Zap/2]
Position=53
…
{CODE}
Where this 52 is taken from , and how can I change this to 42 ?
Thanks in advance,
Andrea