[luci] Adding a page to luci

Manuel Munz freifunk at somakoma.de
Thu Jan 10 18:28:50 CET 2013


On 10.01.2013 18:20, Frank Parker wrote:
> Manuel,
> Thanks for the tip.  Where can I find this documented?
> 
> I did this but the buttons are still visible.  I must be putting these
> "hide" options in the wrong place.
> 
> module("luci.controller.myapp.index", package.seeall)
> function index()
>    entry({"admin", "myapp", "subscription"}, cbi("myapp/config"),
> _("Subscription Info"), 1)
>    entry({"admin", "myapp", "register"}, cbi("myapp/register",{hideapplybtn
> = true, hidesavebtn = true, hideresetbtn = true}), _("Register"), 2)
> end

Looks correct. Are you using trunk > r9508?
see:
http://luci.subsignal.org/trac/browser/luci/trunk/libs/web/luasrc/view/cbi/footer.htm


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20130110/ccdcac35/attachment.pgp>


More information about the luci mailing list