Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Save to file in Grid example plugin
« previous
next »
Print
Pages: [
1
]
Author
Topic: Save to file in Grid example plugin (Read 2592 times)
reply2manish
Newbie
Posts: 10
Karma: 0
Save to file in Grid example plugin
«
on:
March 08, 2021, 08:42:01 am »
Hello All,
I am new to development so I followed the instruction to create a plugin Hello world (
https://docs.opnsense.org/development/examples/helloworld.html
) and Grid Example (
https://docs.opnsense.org/development/examples/using_grids.html
)
Now I am struggling to save the information in a file from the Grid Example. Can anyone help me adding email addresses in the form to file.conf and also when I remove them, the email address are removed from the file too.
Thanks in advance
MK
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Save to file in Grid example plugin
«
Reply #1 on:
March 09, 2021, 05:05:19 pm »
like this?
https://github.com/opnsense/plugins/blob/master/net/siproxd/src/opnsense/service/templates/OPNsense/Siproxd/siproxd_passwd.cfg
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
reply2manish
Newbie
Posts: 10
Karma: 0
Re: Save to file in Grid example plugin
«
Reply #2 on:
March 10, 2021, 09:49:30 am »
Hi mimugmail,
Thanks for the info, let me check the same.
MK
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Save to file in Grid example plugin