Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION i18N Navigation
#1
Hello

im trying to make navigation dropdown menu, installed i18N and changed get_i18n_navigation. in the back end i trying to "insert after" and there are no any pages in the list just 'at the begining'. i thinking that i missed something...
any help?

thank you
Reply
#2
Hi Swipis
i just had the same today

change in your theme :
Code:
<?php get_navigation(return_page_slug()); ?>
(this line can be a bit different in your theme)
into :

Code:
<?php get_i18n_navigation(return_page_slug(),0,1,I18N_SHOW_MENU); ?>

also it depends on your css if you need to modify something
Reply
#3
(2015-05-03, 08:11:02)maco-nl Wrote: Hi Swipis
i just had the same today

change in your theme :


Code:
<?php get_navigation(return_page_slug()); ?>
(this line can be a bit different in your theme)
into :



Code:
<?php get_i18n_navigation(return_page_slug(),0,1,I18N_SHOW_MENU); ?>

also it depends on your css if you need to modify something

thanks yes its works, but now another question - can i add new classes, roles to the dropdown menu and where? 
no code looks like this:

<li class="page1 open">
    <a ...link.. title="Page1">...</a>
    <ul>
       <li class="page-1-child page1">
          <a ...link...>...</a>
      </li>
   </ul>

i need to add some classes to parent <li> and link. it should look like following:

<li class="page1 open dropdown">

    <a ...link.. title="Page1" class="dropdown-toggle" data-toggle="dropdown" role="button">...</a>
    <ul class="dropdown-menu" role="button">
       <li class="page-1-child page1">
          <a ...link...>...</a>
      </li>
   </ul>

how you see i want to use bootstrap dropdown menu style. hope anyone can tell me this Smile

many thanks!
Reply
#4
check this: http://tablatronix.com/gs-bootstrap/

..and of course, also this link: http://mvlcek.bplaced.net/get-simple/mul...-rendering
Reply
#5
note that this was for an older version of bootstrap
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)