Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • brianroe Friend
    #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 Friend
    #465891

    Hello 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.

    brianroe Friend
    #466008

    cheers! you lot are most helpful here

    Kevin Friend
    #471017

    I 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 Friend
    #471018

    Because 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 Moderator
    #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. ja_len.zip
    Kevin Friend
    #477929

    Thanks Ninja Lead….

    lg21 Friend
    #552134

    where is
    templates/ja_wall?

    I find these templates in the folder
    beez3
    ja_lens
    protostar
    system

    Kevin Friend
    #552142

    Obviously the template did not install. Did you install ja_lens thinking it was ja_wall?

    lg21 Friend
    #552277

    I have loaded into the ftp server QuickInstall, and as I have templates available ones that I have listed

    Kevin Friend
    #552295

    I 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.

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

This topic contains 11 replies, has 5 voices, and was last updated by  Kevin 10 years, 1 month ago.

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