-
AuthorPosts
-
August 30, 2012 at 2:20 pm #180358
hello, i have been trying to change the h1 header and alias, when i use the inpect element tool i get:
<h1>
<a href=”/” title=”Home.. Sweet home…”><span>JA Lens</span></a>
</h1>which is easy enough, but I cant find the file which contains this.
most searches lead to changing the main page template. but mine has:
<h1>
<a href=”<?php JURI::base(true) ?>” title=”<?php echo JText::_(‘JA_DESC’); ?>”><span><?php echo JText::_(‘JA_NAME’); ?></span></a>
</h1>and all the <?php echo and JText_….. stuff has made me confused. I dont understand well how php works.
could someone explain#?
kind regards
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
August 31, 2012 at 3:53 am #465891Hello brianroe,
All texts in JText::_() function are located in language files located in “languageen-GB” folder (for English language).
For your template, you can find in languageen-GBen-GB.tpl_ja_lens.ini” file
# Language for template
JA_NAME="JA Lens"
JA_DESC="Home.. Sweet home..."
Regards.
2 users say Thank You to Stork11 for this useful post
September 3, 2012 at 9:46 am #466008cheers! you lot are most helpful here
Kevin FriendKevin
- Join date:
- May 2009
- Posts:
- 180
- Downloads:
- 298
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 9 times in 2 posts
October 24, 2012 at 7:28 pm #471017I found this and changed it, cleared the Joomla cache and my browser cache. It did not do any good. Also I am wondering how to change the rest of the dorky sayings in this template?
I found the below statements in the ini file and changed them, however you also have to change the CLICK TO LOAD MORE saying in the wall.js file or it does not work.
CLICK TO LOAD MORE AWESOMENESS
THAT’S ALL WE HAVE FOR NOW (there is no getting rid of this that I have found)Now this line is only found in the language file that I can find but changing it has no effect on the output.
ROGER, SIR ON MY WAY
Seems to me if the developer is going to add this kind of junk in the template the least they can do is offer us a straight forward way to correct it for those of us who use these templates in a professional setting!
Running my grep tool returned nothing…;(
Kevin FriendKevin
- Join date:
- May 2009
- Posts:
- 180
- Downloads:
- 298
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 9 times in 2 posts
October 24, 2012 at 8:32 pm #471018Because the template obviously does not over ride the language file having it in the template was about as helpful as these forums are. For anyone looking for help on this do not look to the language folder in the template for anything of value. You need to go to the language file in the root of your website and find the file “en-GB.tpl_ja_lens.ini”. There you will find all the necessary text that you need to change.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 25, 2012 at 8:57 am #471071@earthrat: this is my fix applying for JText on wall.js file
<blockquote>Open language/en-GB/en-GB.tpl_ja_lens.ini file</blockquote>
add new script
JA_CLICK_TO_LOAD_MORE_AWESOMENESS = "Click To Load More Awesomeness..."
<blockquote>Open templates/ja_wall/index.php file</blockquote>
from
/* <!]> */
change to
/* <!]> */
<blockquote>Open templates/ja_lens/js/wall.js file</blockquote>
from
$('<div id="item-more" class="item item-more"><div class="inner item-inner clearfix"><h3>Click To Load More Awesomeness...</h3></div></div>').appendTo ($container);
change to
$('<div id="item-more" class="item item-more"><div class="inner item-inner clearfix"><h3>'+JADef.ctload+'</h3></div></div>').appendTo ($container);
from
$('#item-more').unbind('click').find('h3:first').html('That's all we have for now :(').show();
change to
$('#item-more').unbind('click').find('h3:first').html(JADef.fmsg).show();
or you can see all my changed on attachment file
1 user says Thank You to Ninja Lead for this useful post
Kevin FriendKevin
- Join date:
- May 2009
- Posts:
- 180
- Downloads:
- 298
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 9 times in 2 posts
December 30, 2012 at 9:16 pm #477929Thanks Ninja Lead….
lg21 Friendlg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
October 7, 2014 at 4:03 pm #552134where is
templates/ja_wall?I find these templates in the folder
beez3
ja_lens
protostar
systemKevin FriendKevin
- Join date:
- May 2009
- Posts:
- 180
- Downloads:
- 298
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 9 times in 2 posts
October 7, 2014 at 4:56 pm #552142Obviously the template did not install. Did you install ja_lens thinking it was ja_wall?
lg21 Friendlg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
October 8, 2014 at 1:26 pm #552277I have loaded into the ftp server QuickInstall, and as I have templates available ones that I have listed
Kevin FriendKevin
- Join date:
- May 2009
- Posts:
- 180
- Downloads:
- 298
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 9 times in 2 posts
October 8, 2014 at 3:24 pm #552295I would suspect that you uploaded the wrong package or the download gave you the wrong one. Open your package file and see what templates are in the templates folder. If it is not the lens template download it again and see if you get the right one. It is not like the Joomla Art team to make this big of a mistake.
-
AuthorPosts
This topic contains 11 replies, has 5 voices, and was last updated by Kevin 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum