OpenWrt Forum Archive

Topic: LuCI Theme help [solved]

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I've created my own LuCI theme, following the instructions at http://luci.freifunk-halle.net/Document … hemesHowTo

The problem is that the theme does not get installed. It does not show up under the LuCI section in make menuconfig. Actually, there's a good deal of themes in the /themes directory of the LuCI trunk snapshot that don't show up in make menuconfig.


What am I doing wrong here?



edit: I wasn't defining the package in /luci/contrib/package/luci/Makefile


Sorry guys. I should have read the documentation better.

(Last edited by aport on 29 Dec 2008, 22:32)

I'm also interested in compiling and distributing my own theme.  I've gone through the steps outlined in the link above and made the necessary changes to the Makefile (however my Makefile was located in the openwrt trunk directory <my openwrt dir>/tmp/dl/luci-0.8.8/contrib/package/luci/Makefile).  When I run the makefile it creates the proper files and folders in the mytheme/dist folder.  However, I can't get the theme to show up in the make menuconfig so that it will be included in my build.  I've even updated the <my openwrt dir>/feeds/luci.index with mytheme information and it still doesn't show up.  I'd appreciate any advice, thanks.

(Last edited by smith32 on 9 Nov 2009, 20:12)

Hi.

I made a standalone theme package that can be built independently from the LuCI feed, take a look here:
  http://luci.subsignal.org/~jow/luci-theme-custom.tar.gz

Put the included folder in the package/ dir and run make menuconfig, the theme should appear within the LuCI menu then.


~ JoW

Wow, that works perfect.  Thank you for posting this, I really appreciate it.

Also thanks to aport for the added support.

jow wrote:

Hi.

I made a standalone theme package that can be built independently from the LuCI feed, take a look here:
  http://luci.subsignal.org/~jow/luci-theme-custom.tar.gz

Put the included folder in the package/ dir and run make menuconfig, the theme should appear within the LuCI menu then.


~ JoW

Very cool!

The discussion might have continued from here.