This topic has 9 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #117187
     samazzy
    Participant

    Hi, i tried to change the name of the media tab to myart. I achieved that by putting the following code :

    COPY CODE
    
    add_action('bp_init','change_media_tab_position', 10);
    function change_media_tab_position(){
    global $bp;
    if( isset ($bp->bp_nav['media'])){
    $bp->bp_nav['media']['position'] = 10;
    $bp->bp_nav['media']['name'] = 'myart';
    
    }
    
    Now after this i lost the count marker which is shown on default by rtmedia.
    
    Please help me as am not familiar with the coding
    }
    #117871
     Laura
    Moderator
    Not marked as solution
    #118201
     samazzy
    Participant
    Not marked as solution
    #118203
     Radu
    Moderator
    Not marked as solution
    #118242
     samazzy
    Participant
    Not marked as solution
    #118331
     samazzy
    Participant
    Not marked as solution
    #118415
     Radu
    Moderator
    Not marked as solution
    #118549
     samazzy
    Participant
    Not marked as solution
    #118564
     samazzy
    Participant
    Not marked as solution
    #118720
     Radu
    Moderator
    Not marked as solution
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?