msfromg
| First Name: |
Marcel |
| Last Name: |
Strunk |
| Bio: |
|
| Total Posts: |
6 |
Posts
|
Viewing 1 to (6 Total) |
|
OK, it works, great!
At first it did not, but with trial and error I changed it to '$parentPath = DIR_REL . '/index.php' . $page->getCollectionPath();' and now it does!
Thanks a lot for your support!
Posted on June 14, 2012 at 5:31 AM
|
|
ok, great, the language switch is now aligned right.
I also changed the nav back to option a) with the original code. But how could I integrate HomeEn etc. now?
Posted on June 12, 2012 at 5:49 PM
|
|
Hello-
my site is now on a project server: http://marketing-hannover.com/projekte/helene
Could you give me a hint why HomeEN/NL/DK does not contain the right link? (I stayed with the hardcoded nav - with the autonav, the navigation was only there in edit-mode and disappeared when logged out).
And if you could let me know how to right-align the language switch, that would be great.
Posted on June 06, 2012 at 2:04 PM
|
|
..ok, thank you.
I'll come back once I have installed it on a public server.
Posted on May 28, 2012 at 4:53 PM
|
|
Hi-
thank you a lot, but I still can't figure it out.
What I did:
a)
changed header.php: left the hardcoded header in and put 'second_level' in line 75 -> ok
exchanged 'slate_main_nav' with the new code (attachement above) to include 'Home' and changed 'nav' to 'sf-menu' -> 'Home' is now included and it looks as it should, but 'Home' links to http://localhost/en instead of http://localhost/concrete5/index.php/en/
I also tried
b)
changed header.php: took out the hardcoded header and put in
$a = new GlobalArea('Header Nav');
$a->display();
to replace it by the autonav -> ok
put in the autonav with the second level to display -> ok
exchanged slate_main_nav with the new code (attachement above) to include 'Home' -> did not work: 'Home' was not included (although that had worked within a) and the layout of the nav broke (also with exchanging 'nav' to 'sf-menu')
Could you give me a hint?
Regarding right aligning the language switcher: I currently only have a local install but will come back to you once I put it on a server.
Posted on May 23, 2012 at 5:43 PM
|
|
Hi-
I'm trying to get the internationalization add-on to work with the navigation within the Slate theme (and I have no idea about coding...).
First it took me a while to get the second level into the header navigation (I finally managed thanks to the other post in this forum).
Now I need to include 'Home' of each language into the nav. For this, I found a solution to change the navigation in the concrete forum (see file attached).
But this does not work completely with Slate as
1.the nav layout breaks and
2. 'Home' links to http://localhost/en instead of http://localhost/concrete5/index.php/en/.
And one other short question: how can I right-align a block (language switch add-on) in the Header Top area?
Could anyone help me?
Posted on May 22, 2012 at 3:07 PM
|
Badges
This user hasn't earned any badges yet.