test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • sarah2009 Friend
    #166791

    Hi,

    My current site contains 5 languages.

    – A – site.com/
    – B – site.com/fr
    – C – site.com/it
    – D – site.com/es
    – E – site.com/de

    SH404 Enable
    Joom!Fish 2.1.7

    I’m using ja_helio template, and I have problem with language home page translated in JoomFish.
    If I switch language to other then default, I can surf on whole site, but if I click on logo, or home Joomla back to default language.

    How do I make the logo link dynamic such that when I click B, the logo link is site.com/b, and when i click on menu C, the logo link is site.com/c.

    Best regards
    Sarah

    Sherlock Friend
    #403869

    Hi sarah2009,

    You can try this
    Open the file of templatesja_helioindex.php, Look for all those texts
    href=”index.php”
    Change it to
    href=”<?php echo JRoute::_(‘index.php’); ?>”

    I hope this should help !

    sarah2009 Friend
    #403880

    Thanks Dat Hoang for your reply, but I have not found the HTML code href=”index.php”

    I found 2 HTML Code:
    <a href=”/index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a><a href=”/index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a>

    NB: it’s <a href=”/index.php” not href=”index.php”

    Thanks
    Sarah

    sarah2009 Friend
    #403935

    OK, it is fixed.

    Thanks so much Dat Hoang , Hung Nguyen Duy
    Thanks joomlart

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  sarah2009 13 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum