WebMP Skin: Bootstrap v5.1 (9 aug. 2013) (2 Viewers)

Wiedmann

Portal Pro
June 22, 2007
107
28
Home Country
Germany Germany
I have the same Problem:
No menu.
I have no idea. BTW, I am using the IIS edition myself, so no problem there.
OK. Have found the problem. I don't use authentication (from mpextended). If I enable authentication I have the menu.

e.g. the page: "http://example.com/WebMediaPortal/Settings". Without authentication this part is completely missing in the generated HTML:
HTML:
<div id="wrap">

    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                </button>
                <a class="brand hidden-desktop" href='/WebMediaPortal/'>WebMediaPortal</a>
             
<div class="nav-collapse collapse">
<ul class="nav">
    <li  ><a href='/WebMediaPortal/'><i class="icon-home icon-white"></i> Startseite</a></li>
<li  ><a href="/WebMediaPortal/MusicLibrary">Musik</a></li>  <li ><a href="/WebMediaPortal/MovieLibrary">Filme</a></li>
        <li class="dropdown "    >
        <a href='/WebMediaPortal/Status' class="dropdown-toggle" data-toggle="dropdown">TV-Server <b class="caret"></b></a>
     
            <ul class="dropdown-menu" >
                <li><a href="/WebMediaPortal/Television/TVGuide">TV-Programm</a></li>
                <li><a href="/WebMediaPortal/Television/Recordings">Aufnahmen</a></li>
                <li><a href="/WebMediaPortal/Schedule">geplante Aufnahmen</a></li>
                <li><a href="/WebMediaPortal/Status">Status</a></li>
            </ul>
        </li>
</ul>
</div><!--/.nav-collapse -->             
                <div class="nav-collapse collapse">
                    <ul class="nav pull-right">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user icon-white"></i> Willkommen <strong>admin</strong>! <b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href='/WebMediaPortal/Settings'><i class="icon-wrench"></i> Einstellungen</a></li>
                                <li><a href='/WebMediaPortal/Account/LogOff'><i class="icon-off"></i> Abmelden</a></li>
                            </ul>
                        </li>
                    </ul>
<form action="/WebMediaPortal/Search/Results" class="navbar-search pull-left" method="get"> <input type="text" name="text" class="search-query span2" placeholder="Suchen..." /> </form>                </div>
            </div>
        </div>
    </div>

    <div class="container">
<div class="page-header"><h1>Einstellungen <small></small></h1></div>

Is this your fault, or WebMP?
 

Wiedmann

Portal Pro
June 22, 2007
107
28
Home Country
Germany Germany
Seems like a Web MP bug
Well, first and foremost this is a bug in the skin...

In your layout you have: Only show the menu if the user is authenticated. This can't work if authentication is disabled.

But I think there is also problem in WebMP: How can I know that the authentication is disabled. My first suspicion was "ViewBag.Availability.Authentication". But this doesn't work. Of course, the MPExtended/WebMP source code isn't documented. So I have no idea how this method should work. And on the fly I have found no other way.

My current workaround you can see in the diff.
 

Attachments

  • Bootstrap-Shared-_Layout.cshtml.diff
    1.6 KB

Entdecker

Portal Pro
May 28, 2014
152
61
Home Country
Germany Germany
I hoppe someone can help me.

Can someone tell me what I have to do to use this WebMP Skin "Bootstrap" whis the newes WebMediaPortal Version 0.60 beta9.

I am grateful for all your suggestions.

Entdecker
 

Entdecker

Portal Pro
May 28, 2014
152
61
Home Country
Germany Germany
Yes I know that "Bootstrap" in the last years was not in the development/Discontinued.

Please see my answer here to WebMP Skin: Simplicity

Because I know this I hope it is possible to use the WebMP Skin "Bootstrap" or "Simplicity" whis very small changes.

I am realy grateful for any suggestion.

cu,

Entdecker
 

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    Can someone tell me what I have to do to use this WebMP Skin "Bootstrap" whis the newes WebMediaPortal Version 0.60 beta9.
    The skin needs to be redone a little, the site structure has changed, but I'm almost at the finish. Almost everything works. As I finish, I will lay out the update of the skin. :)
     

    Users who are viewing this thread

    Top Bottom