Dashboard Template Override

Support MB Frontend Submission Dashboard Template OverrideResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20160
    SinusiteSinusite
    Participant

    Hi,

    Is there a correct way to override Dashboard.php (without directly modify this file) ? (Query and template)

    Thank You !

    #20169
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The main function of this file is to create the shortcode [mb_frontend_dashboard], you can copy the content in the file Dashboard.php to the file functions.php in the theme folder then change the name of the class, shortcode, URL ... to create your own shortcode and show on the page.

    #31233
    Ole PoetterOle Poetter
    Participant

    Hi Long,

    instead to put the content from dashboard.php into the functions.php, I want to put it in Code Snippet Plugin.
    Question: Have I to copy the whole content of dashboard.php? If yes, after doing so, I get an 403 Forbidden after saviing the snippet.

    Kind regards,
    Ole

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.