Results 1 to 2 of 2

Thread: Override this function?

  1. #1
    Join Date
    Apr 2004
    Location
    Dearborn, MI
    Posts
    1,963

    Default Override this function?

    Ok I need to know if the function in the DM LUA script

    function DM.Config.LightingDevicesPerPage() -- override this function in the CCF's Lua file if necessary
    return 8
    end

    Can be set in each of the NR CCF LUA files as I have two skins. One skin will have one device per page and the other one will have six. If so where do you put it and what is the syntax?
    John

    Now Playing skin creator

    Girder 5.0 / Elk-M1EZ8 / Ocelot / SECU-16IR /SECU-16I / SECU-16 / BobCat Humidity
    JRMC 11.1 / M-Audio Delta 410 / Xitel HIFI Pro / Xitel HIFI Link
    NetRemote 2.0 / 6 Zone whole house audio delivering 1580 watts RMS total
    ELO 15" Touchscreen, Nokia 770 and Advent 3500PC Mobile PC 7" TS
    Droid 2 Global

    Click here to visit my Nowplaying Showcase Blog

  2. #2
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    I think I've answered this elsewhere, but in case you get to this one first...

    The syntax is exactly as you have it there, just change the 8 to something appropriate.

    And it must be defined before you call DM.Init().
    --Rob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •