• Resolved anastasiaj

    (@anastasiaj)


    Hi, I have copied the theme (followed your tutorial) and have already changed some labels around the Tutor LMS plugin. BUT I cant find the php file containing DASHBOARD MENU so I could change some words there (want to change “My Quiz Attempts” words in the student dashboard menu)… Searched in all the folders but cant find…Could you please indicate me the location? Thank you in advance!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello @anastasiaj,

    There are three groups of links in Tutor Dashboard, the general links, instructor links, and the bottom two links for Settings and log out. To add new links or to remove existing links, you must use their corresponding filter.

    Thread Starter anastasiaj

    (@anastasiaj)

    Hi, thank you for reply! Great! But how can I change the link label “My quiz attempts” to “My Assignment submissions”? Is there any filter for that? Thank you in advance!

    Hello @anastasiaj,

    Please read the doc I mentioned earlier, it has the filter for editing/removing links from general section of the dashboard.

    Thread Starter anastasiaj

    (@anastasiaj)

    Hi, thank you for prompt reply! I read the documentation mentioned BUT I didn’t find anything connected with EDDITING just the label of already existing link in the NAV. Of course I could use the REMOVE filter to remove the “My Quiz Attempts” link and then use the ADD filter to add a new link “My assignment submissions” but its the same link! So I was wondering if I could just rename it…

    Sorry if my questions seem stupid for you but I really cant figure it out… Sorry for inconvenience!

    And thanks in advance!

    Hello @anastasiaj,

    If you find it difficult to apply the filters you can override entire template file from your child theme by following instructions given in this documentation.

    Thread Starter anastasiaj

    (@anastasiaj)

    Hello @munayam, Yes, this is exactly what I did! I have followed the documentation you have mentioned, and I have overridden the template. After that I have changed some labels BUT I cant find the DASHBOARD MENU LABELS in the tutor folder! This was my question in my first message! I have searched all the folders inside the tutor (renamed templates) folder and I cant find this string “My Quiz Attempts”… No, sorry, I found one, but it was not the DASHBOARD MENU ITEM, it was the page heading…. And I am searching for the menu item…

    Also I cant find where I can change the message which comes when you try to leave the quiz. It says: “Abandon quiz? Do you want to abandon this quiz? The quiz will be submitted partially up to this question if you leave this page.” I have also searched ALL the folders in the tutor (previous templates) folder and I didnt find any string like that… ??

    • This reply was modified 3 years, 3 months ago by anastasiaj.

    Hello @anastasiaj,

    You can navigate to the following file where dashboard nav items are defined

    \wp-content\plugins\tutor\classes\Utils.php

    Quiz abandon warning message can be seen from the following file

    \wp-content\plugins\tutor\assets\js\tutor-front.js

    Thread Starter anastasiaj

    (@anastasiaj)

    Hello, @munayam! TTHANK YOU SO MUCH for your help! IT WORKED AS MAGIC! I found all the necessary strings! by the way, if there is a plugin update, will all my corrections disappear (since I made it not in the “templates” folder, which I have overwritten)?

    Now, once again thank you so much! This is the best user support for now which I ever seen in WordPress! I will definitely consider buying your premium version cos I think that if you help users with free version the way you do, I’m sure that the premium version support will worth it! Thank you again!

    Hello @anastasiaj,

    Thanks very much for your appreciation. If you override parent plugin files from child theme then you won’t lose your customization when you update. Before updating anything always keep a complete backup.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Where is the php file for DASHBOARD MENU located’ is closed to new replies.