Skip to content Skip to main menu Skip to utility menu

Document Finder – Lost all Doc Types & categories during upgrade

Home Forums GovIntranetters Document Finder – Lost all Doc Types & categories during upgrade

This topic contains 11 replies, has 4 voices, and was last updated by  Luke Oatham 1 year, 3 months ago.

  • Author
    Posts
  • #1744

    adbutt
    Participant

    Is there a quick fix for my media files to pull in the old document type & categories values eg.. forms, guides, policies etc..

    Really don’t want to have to go through them all again adding the type/category. 🙁

  • #2430

    Gdunn15
    Participant

    Hi adbutt,

    Did you manage to resolve this? I have the same issue

    Thanks

  • #2432

    Luke Oatham
    Keymaster

    Can you give details of which version worked for you before updating?

  • #2433

    Gdunn15
    Participant

    Our live site is still running GovIntranet v3.0.8, so that is what I’ve upgraded our dev site from

    Thanks

  • #2434

    Luke Oatham
    Keymaster

    Did you run the upgrade plugins? You should have received a report showing how many document types had been upgraded.

  • #2435

    Gdunn15
    Participant

    Hi Luke,

    Yes, I ran all 3 upgrade plugins.

    The report said “Upgraded 9 document types”, which is the correct number. The Document types page shows varying numbers of each type (see attached), but when I click on any of the numbers, it goes to the Posts list, which is empty.

    Thanks

    Attachments:
    You must be logged in to view attached files.
  • #2437

    Luke Oatham
    Keymaster

    Ah okay. Due to the way the document type is selected in the media library, the taxonomy screen under posts won’t link through.

    Is the actual document finder template working okay?

  • #2438

    Gdunn15
    Participant

    Yes, the template seems OK (see attached)

    Can you recommend a solution to the problem with the way the document type is selected in the media library please?

    Thanks

    Attachments:
    You must be logged in to view attached files.
  • #2444

    Gdunn15
    Participant

    Hi Luke,

    Will I need to manually apply document types and categories to all media files to get the document finder to work?

    Thanks

  • #2450

    Luke Oatham
    Keymaster

    A stab in the dark from a distant memory. I’ve attached a link to a zip file containing a rough and ready template that *may* help.

    Doc fix template

    1. Unzip and copy the php file to your govintranet theme folder.
    2. Create a new page and choose the docfix template
    3. Save the page in draft and preview

    Don’t forget to remove the php file when done.

  • #2451

    Gdunn15
    Participant

    Thanks Luke.

    What should happen when I preview the page?

    It just says “Sorry, nothing found.”

  • #2453

    Luke Oatham
    Keymaster

    Can you try the link again – I’ve updated the template.

You must be logged in to reply to this topic.