GetSimple Support Forum
I18N Navigation - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Scripts & Components (http://get-simple.info/forums/forumdisplay.php?fid=11)
+--- Thread: I18N Navigation (/showthread.php?tid=4774)



I18N Navigation - lnickel - 2013-05-24

Hi all!

Thanks to another member here who helped me out with the navigation!! I got it going and its working great

I have a question and hoping someone could help with.

I have a top horizontal drop down navigation with these links

Investment Strategies (parent)
.....Domestic Equity (child of invest strat)
.........All Cap Core Equity (sub/child of domestic)
.........Large Cap Core Equity (sub/child of domestic)
.........Select Equity (sub/child of domestic)

The url for Domestic Equity shows a correct url:
root/investment-strategies/domestic-equity

but the url for All Cap Core Equity shows a url:
root/domestic-equity/all-cap-core-equity/

Is there a way to have the child child menu item to have the overall parent in the url with this plugin? So in essence you would have

root/investment-strategies/domestic-equity/all-cap-core-equity/


for the child child....make sense Smile

Again....this is a cool plugin! thanks for the work! If anyone would please be so kind to point me in the right direction I would really appreciate it!!!!

thanks
Lance



Here is the code for the menu:

Code:
<ul id="">
   <li><?php get_i18n_link('investment-strategies');?>
            <div>
                <ul><?php get_i18n_navigation('investment-strategies', 1, 100, I18N_SHOW_MENU); ?></ul>
            </div>
        </li>
      
    
    </ul>

Sorry admins!!! I put this in the wrong category. I tried to delete it!!! Needs to be in the plugins area.


RE: I18N Navigation - mvlcek - 2013-05-24

(2013-05-24, 01:37:41)lnickel Wrote: Is there a way to have the child child menu item to have the overall parent in the url with this plugin?

In the GetSimple admin settings set custom permalink structure to %parents%/%slug% (note the s in parents.
You should also use get_i18n_header() instead of get_header in the template.


RE: I18N Navigation - lnickel - 2013-05-24

(2013-05-24, 01:44:47)mvlcek Wrote:
(2013-05-24, 01:37:41)lnickel Wrote: Is there a way to have the child child menu item to have the overall parent in the url with this plugin?

In the GetSimple admin settings set custom permalink structure to %parents%/%slug% (note the s in parents.
You should also use get_i18n_header() instead of get_header in the template.


Thank you very much MVLCEK

I stumbled upon it and got it right as you were anasering Smile

%parents%/%slug%/

YES TY!!!!!

Had to do a double take with this....blown away excited!!!!! Smile Smile Smile