Interface customization
  • Hi there,

    I am trying to do simple hacks in the UI but just doesn't seem to work.For example I am trying to hide the Output Stream Settings part of Stream settings.so I figured to remove some code from /airtime/airtime_mvc/application/views/scripts/preference/stream-setting.phtml
    reboot the server, but it doesn't seem to work. I still get the same page unchanged.Am I missing something?

    Please help.

    I did not find the right solution from the internet.

    References:-

    Thanks




  • 2 Comments sorted by
  • Sounds like you are using chrome? In any case, it sounds like caching.
    Clear your browser's cache and if you have server-side caching, clear that too.

    Why not just hide it using css? Much safer, BY FAR.

    Why would you allow others in with full admin access, when you can have them log in as a DJ/Producer and code changes not needed?
    Post edited by John Chewter at 2018-04-25 07:40:33
    Resurrected: 16 May 2017.
  • Vote Up0Vote Down Voisses TechVoisses Tech
    Posts: 1,422Member
    I did that for you here

    https://forum.sourcefabric.org/discussion/17831/ever-want-to-build-your-own-test-container-and-pimp-the-ui-another-in-101-series

    look for this line near the bottom
    Make Backup of the Navigation feild
    cp /usr/share/airtime/application/configs/navigation.php /usr/share/airtime/application/configs/navigation.php.$(date "+%b_%d_%Y_%H.%M.%S")

    Step 1a
     I recommend you edit the files as is done below.I also include the amended files. Untar the files given (listenerstats.tar.gz) and compare with your edits.You could copy these files to replace existing files but I give no warranty


    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.