1
sarahmx
mymenus and xbootstrap theme menu
  • 2016/7/21 1:29

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


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 1a>li>
                            <
li><a href="javascript:;">Topic 2a>li>
                            <
li><a href="javascript:;">Topic 3a>li>
                            <
li><a href="javascript:;">Topic 4a>li>
                            <
li><a href="javascript:;">Topic 5a>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>

2
Bleekk
Re: mymenus and xbootstrap theme menu
  • 2016/7/21 12:43

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


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

Login

Who's Online

326 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 326


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits