Autonav help with Internationalization2 users found helpful
I used to have:
Home | Business | anotherLink etc..
When I apply the add-on this changed to:
English | Italian etc...
Now I can change the auto-nav to second level however because "home" is the actual page "english" it's on the top level so it only loads up:
Business | anotherLink.
Is there anyway you can get the home page link on the navigation bar as well as the other links?
In fact the "internationalization" extension has a broken logic and the free version gives you nothing you can't do in Concrete5 without a custom extension (just by adding different trees for each language, and a "1 level deep" navigation for the language switcher).
Nothing like REAL internationalization solutions built into other CMSs..
Their "Enterprise" version price is ridiculous also...
Also, a question for the core team.. - do you plan to include REAL internationalization into Concrete5 core? By REAL I mean the ability to translate each and every string used, and customizing autonav atc components to work with multilanguage. Even better if no separate trees would be needed and the language versions could be used within one tree.
what do you mean by ' "1 level deep" navigation for the language switcher' ? how do i do that?
I've tried to add it manually in a custom template, with the 'parent' statements, but that will break when entering the third level.
Here's what I had so far:
I couldn't find an exact solution to it but I found a way around it.
I assigned the attribute "exclude from nav" to the home pages of each language and underneath each home page I created another page exactly like the homepage. now what happens is that when you first go to the site, you enter the actual homepage but the "home" button that appears in the autonav takes you to the duplicate page you created below the homepage.
you have to remember to make your edits to both pages though...
hope this helps :)
Maybe you can alias the language homepages, instead of copying, so you won't have to edit twice.
Thank you very much!!
Just drag a page-icon in the sitemap on a parent and choose 'Alias'.
More about this check:http://www.concrete5.org/documentation/general-topics/site-tree/...
what part of the php code you attached do i need to include the parent in the autonav? because i am already using a customized php code and i can't replace the whole thing.
Where should this file go ?
This would be "blocks\autonav\templates".
I prefer the second option becuase you can be certain that on an update of the autonav module itself, your file won't be overwritten.