• Resolved dmhsupport

    (@dmhsupport)


    Weird issue in settings when clicking on folders GIves me a 404 page, if i hover over the folders in the mdocs settings it shows the link is incorrect

    If you look at this image it kind of helps https://i.imgur.com/nknRFnt.png

    In the image I am hovering over Audit Committe Reports folder and down at the bottom it is permalinking to a file and then tagging the mdocs category on it. What happened here?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bhaldie

    (@bhaldie)

    the link from your screen capture is work it should look something like this:

    
    https://example.com/wp-admin/admin.php?page=memphis-documents.php&mdocs-cat=mdocs-cat-1
    

    the most import part being the admin.php?page=memphis-documents.php

    Do the folders work in the frontend?

    Thread Starter dmhsupport

    (@dmhsupport)

    yeah everything works on the front end. It’ just in the settings window it does that.

    Plugin Author bhaldie

    (@bhaldie)

    hmm this is a weird one, I am at a lost as to why your folders would be referring to a file from the dashboard.

    Here is one thing you can try open the file mdocs-functions.php and goto line 643:

    
    if($post == null) $is_admin = true;
    

    and change it to:

    
    if(is_admin()) $is_admin = true;
    

    try that and see if your problem is resolved.

    Thread Starter dmhsupport

    (@dmhsupport)

    That fixed the problem. Thank you so much!

    Plugin Author bhaldie

    (@bhaldie)

    no problem, I will add this fix to the next release so you won’t have to worry about fixing it again.

    Thread Starter dmhsupport

    (@dmhsupport)

    Very cool, good work. I appreciate it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Weird Issue in Settingss’ is closed to new replies.