-
AuthorPosts
-
January 17, 2011 at 8:53 am #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.phpReading 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.0Can anybody help me finding the new location for the text “You are are” (breadcrumbs)?
thanks for your attention.
January 17, 2011 at 9:19 am #372205Found it.
You can spot the file at this path:yourwebsite.compluginssystemjat3base-themesdefaultblocksnavhelper.php
Problem Solved
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
January 26, 2011 at 1:20 pm #373895Not 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 FrontpageIf 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.
1 user says Thank You to Phill for this useful post
mikac Friendmikac
- Join date:
- April 2010
- Posts:
- 178
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
January 26, 2011 at 3:15 pm #373907Thanks 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 ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
January 26, 2011 at 5:06 pm #373914The 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
2 users say Thank You to Phill for this useful post
-
AuthorPosts
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