Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. showLines

showLines

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 160 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    rhartmann
    wrote on last edited by
    #1

    I noticed in the newest version of FOP2 that the
    ShowLines has been moved out of the js/presence.js file and is moved to the manager gui

    Is there ANY way to add this into the button config file? we are running a vanilla asterisk and need to figure a way manipulate this on a Context by Context basis

    example http://1.1.1.1/fop2?context=tenant1 wants to have 1 showLines
    whereas http://1.1.1.1/fop2?context=tenant2 wants to have 3 showLines

    ~ron

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Hi,

      The best option is to use the FOP2 Manager to configure settings for each tenant. If you do not run a supported multi tenant backend, you will have to modify functions-custom.php and configure the proper functions.

      function "custom_populate_context" must populate an index based array with your fop2 contexts, supose you have "tenant1" and "tenant2" you should make that function return just that:

      function custom_populate_contexts_from_tenants() {
      $panelcontexts[0]='tenant1';
      $panelcontexts[1]='tenant2';
      return $panelcontexts;
      }

      With that, if you log into the FOP2 manager you will have the option to chose between the two and set Settings for each distinctively.

      Best regards,

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups