test
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • amarks Friend
    #166990

    How do I rename the “Jomsocial” search button to something else? Also renaming “forum”


    1. Screen-shot-2011-08-02-at-5.44.06-PM
    chavan Friend
    #404265

    Go to this File : componentscom_searchviewssearchtmpldefault_form.php

    Find this Code


    <button name="Search" onclick="this.form.submit()" class="button"><?php echo JText::_( 'Search' );?></button>

    you must replace the text “Search” in this code “<?php echo JText::_( ‘Search’ );?>”

    For Ex: I making it change “forum”


    <button name="Search" onclick="this.form.submit()" class="button"><?php echo JText::_( 'Forum' );?></button>

    Note: If you Find my Post useful please click on the Thanks Icon

    amarks Friend
    #404272

    I actually meant under the “Search only” section… Where it says “newsfeeds” “Jomsocial” “forum”

    I would like to change “Jomsocial” to “Social Network”

    chavan Friend
    #404580

    Hello amarks,

    I have created a bug report regarding your issue . You can check the progress of issue at the link http://pm.joomlart.com/browse/JATCSOCIAL-332

    Best Regards,

    chavan Friend
    #404592

    Post a screenshot with a clear explanation.

    <em>@amarks 257257 wrote:</em><blockquote>I actually meant under the “Search only” section… Where it says “newsfeeds” “Jomsocial” “forum”

    I would like to change “Jomsocial” to “Social Network”</blockquote>

    amarks Friend
    #404653

    I posted a picture in the first post

    chavan Friend
    #404664

    I don’t recommend this, but this is the only way to do this.

    For this Go to this File : componentscom_searchviewssearchtmpldefault_form.php

    Find this code


    <?php echo JText::_($txt); ?>

    With


    <?php if(trim(JText::_($txt)) =="Jomsocial") echo "Social Network"; else echo JText::_($txt); ?>

    Note: If you Find my Post useful please click on the Thanks Icon

    amarks Friend
    #404672

    Thanks Chavan. Why don’t you recommend this? Could this cause problems down the line?

    chavan Friend
    #404683

    No problem will happen. Carry on. Have a nice day 🙂

    amarks Friend
    #404684

    Thanks for your help Chavan, both on this and all the other posts 🙂

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

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

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