Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • panzerknacker Friend
    #160093

    Hi, probably a trivial question, but I need to remove the “you are here” text at th botton of the page and I need to translate the small “top” link in the same section, where do I find those?

    Thanks a lot!

    Phill Moderator
    #376421

    Copy the file plugins>system>jat3>base-themes>default>blocks>navhelper.php to templates>ja_cloris>blocks>navhelper.php

    Open the file in its new location and you will see the following

    <div class="ja-breadcrums">
    <strong><?php echo JText::_('You are here')?></strong> <jdoc:include type="module" name="breadcrumbs" />
    </div>

    If you remove that the “You Are Here” will go.

    Then we need to edit the “Top”. As you can see from the code

    <?php echo JText::_('Top') ?>

    The JText:: means there should be a language string somewhere for it.

    I already know that it is administrator>language>en-GB>en-GB.ini at line 556

    00555: TOOLS=Tools
    00556: TOP=Top
    00557: TRASH=Trash

    Had I not known I could have used the excellent and free wingrep (http://www.wingrep.com/) to search through the language folder in just a few seconds for the language string I was looking for. With this excellent tool al you need to do is right click on a folder, click on wingrep then type in the string you are looking for. It then does all the work of finding it for you.

    panzerknacker Friend
    #376468

    Thanks, that was extremely helpful. One thing though, the JTEXT didn’t call for the language string, but needed to be directly translated in navhelper.php. that’s great in single language sites, but not in multi-lingual sites.

    Is it correct that this section does not look at the language .ini files?

    <li class="top"><a href="<?php echo $this->getCurrentURL();?>#Top" title="Back to Top"><?php echo JText::_('Top') ?></a></li>

    Phill Moderator
    #376474
    It should look at the language file. I’ll check later.
Viewing 4 posts - 1 through 4 (of 4 total)

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

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