xoops forums

sarahmx

Quite a regular
Posted on: 2016/7/21 1:29
sarahmx
sarahmx (Show more)
Quite a regular
Posts: 378
Since: 2007/10/28
#1

mymenus and xbootstrap theme menu

Hi

Im using XOOPS 2.5.8 and mymenus 1.50beta

anyone have skin menu for xbootstrap ?
is it possible to recreate the menu in xbootstrap in mymenus...so i dont have to edit the following file in xbootstrap manually ?


themes/xbootstrap/tpl/nav-menu.tpl
<div class="navbar-wrapper">
    <
div class="navbar navbar-inverse navbar-static-top global-nav">
        <
div class="container">
            <
div class="navbar-header">
                <
button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button">
                    <
span class="icon-bar"></span>
                    <
span class="icon-bar"></span>
                    <
span class="icon-bar"></span>
                </
button>
                <
a href="<{$xoops_url}>" class="navbar-brand xlogo" title="<{$xoops_sitename}>">
                    <
img src="<{$xoops_imageurl}>images/logo.png" alt="<{$xoops_sitename}>">
                </
a>
            </
div>
            <
div class="navbar-collapse collapse">
                <
ul class="nav navbar-nav">
                    <
li class="active"><a href="<{$xoops_url}>"><{$smarty.const.THEME_HOME}></a></li>
                    <
li><a href="javascript:;"><{$smarty.const.THEME_MODULE1}></a></li>
                    <
li class="dropdown"><a data-toggle="dropdown" class="dropdown-toggle" href="javascript:;"><{$smarty.const.THEME_MODULE2}><b
                                    
class="caret"></b></a>
                        <
ul class="dropdown-menu">
                            <
li><a href="javascript:;">Topic 1</a></li>
                            <
li><a href="javascript:;">Topic 2</a></li>
                            <
li><a href="javascript:;">Topic 3</a></li>
                            <
li><a href="javascript:;">Topic 4</a></li>
                            <
li><a href="javascript:;">Topic 5</a></li>
                        </
ul>
                    </
li>
                    <
li><a href="<{$xoops_url}>/modules/newbb"><{$smarty.const.THEME_MODULE3}></a></li>
                    <
li><a href="<{$xoops_url}>/modules/contact"><{$smarty.const.THEME_MODULE4}></a></li>
                </
ul>
                <
form class="navbar-form navbar-right" role="search" action="<{xoAppUrl search.php}>" method="get">
                    <
div class="form-group">
                        <
input type="text" name="query" class="form-control" placeholder="<{$smarty.const.THEME_SEARCH_TEXT}>">
                        <
input type="hidden" name="action" value="results">
                    </
div>
                    <
button class="btn btn-primary" type="submit"><{$smarty.const.THEME_SEARCH_BUTTON}></button>
                </
form>
            </
div>
        </
div>
    </
div>
</
div><!-- .navbar-wrapper -->

Bleekk

Theme Designer
Posted on: 2016/7/21 12:43
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 934
Since: 2002/12/14
#2

Re: mymenus and xbootstrap theme menu

Hi,
There is already a bootstrap Skin in this Version of mymenus
https://github.com/XoopsModules25x/mymenus