Netgate SG-1000 microFirewall

Author Topic: package question  (Read 415 times)

0 Members and 1 Guest are viewing this topic.

Offline arnoldg

  • Jr. Member
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
package question
« on: May 14, 2017, 01:50:51 pm »

i'm trying to build a packer for this great addon

i think i'm pretty far away, but i'm running into something.

is there a way to add a extra option on the captive portal configuration page.
now there  is a item called voucher but i wan't and extra item with the altered voucher page.

but don't know how to do that.

i think i have to do it in usr/local/pkg/cplabelprint.xml file (my configuration file)

somthing like this
Code: [Select]
<title>Voucher print</title>
<url>/packages/CPlabel/services_captiveportal_vouchers.php?somewaytogetzonenamefromzone </url>

But this is to add a menu item, i want to a link in the page services_captiveportal.php

Please need advice on this one