Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • gruppogea Friend
    #158877

    Hello all,
    I’ld like to modify the text “You are here” but i can’t find which is the file to modify this value.

    In JA CLORIS v.1.0. you could find the correct file at this path:
    yourwebsite.comtemplatesja_clorisblocksnavhelper.php

    Reading this article I found the file has been removed in the new version of JA CLORIS
    http://update.joomlart.com/#compare/JATCCLORIS/1.0.1/1.0.0

    Can anybody help me finding the new location for the text “You are are” (breadcrumbs)?

    thanks for your attention.

    gruppogea Friend
    #372205

    Found it.
    You can spot the file at this path:

    yourwebsite.compluginssystemjat3base-themesdefaultblocksnavhelper.php

    Problem Solved

    Phill Moderator
    #373895

    Not quite, you should not need to modify any of the files in the plugins directory.

    The language string can be found in administrator/language/en-GB/en-GB.plg_system_jat3.ini

    #_________________________Frontend-language___________________________#
    YOU ARE HERE=You are here
    SKIP TO CONTENT=Skip to content
    HOME PAGE TITLE=Welcome to the Frontpage

    If you look at any language string in the code that has


    JText::_(

    Means look in the language file. In this case using a tool such as wingrep (http://www.wingrep.com/) allows you to search through folders/files for any string and a quick search for “you are here” brings up all locations with that string. SO if you struggle to find any language strings in future try wingrep.

    As for modifying files in the jat3 plugin it is much better to copy that block to the templates directory. Any of the php files in the jat3 plugins blocks directory can be copied over to the templates blocks directory and they will take precedent. Doing this means you can update your plugin without having to re-apply your modifications.

    mikac Friend
    #373907

    Thanks for this post about Wingrep, I already downloaded it and it is really helpful!

    If you could just explain how exactly to copy “block” to the templates directory, cause I already have a lot of modifications and I know that Updating jat3 plugin will Undo all my changes! Please explain how this works, you will save us all a lot of time, and yours too!

    Thanks.

    Phill Moderator
    #373914

    The blocks thing is quite simple really, look in pluginssystemjat3base-themesdefaultblocks and you will see a number of php files such as navhelper.php

    Then check to see if the same file does not exist in templates>ja_cloris>blocks

    If it does then you should be modifying the file in the templates directory. If it does not then you can safely copy that php file eg pluginssystemjat3base-themesdefaultblocksnavhelper.php into the templates>ja_cloris>blocks>navhelper.php and the file in here is now the one you modify, the original will not be used.

    The same can be said for other files in the jat3 plugin folder(not all though) so look at the wiki for more information

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

This topic contains 5 replies, has 3 voices, and was last updated by  Phill 13 years, 10 months ago.

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