pfSense Support Subscription

Author Topic: package question  (Read 351 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 »
Hello

i'm trying to build a packer for this great addon https://forum.pfsense.org/index.php?topic=108846.0

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]
</copyright>
<name>Captiveprint</name>
<title>Voucher print</title>
<menu>
<name>Service</name>
<section>Captiveportal</section>
<url>/packages/CPlabel/services_captiveportal_vouchers.php?somewaytogetzonenamefromzone </url>
</menu>
</packagegui>

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