Customized pages lost after upgrade to v9

Stephane_BouillonStephane_Bouillon Customer Adept IT Monkey ✭✭
Hi, I successfully upgraded my portal to v9. One issue I'm still having is that the pages that I customized in the custom area at c:\inetpub\ciresonportal\customspace are apparently not loaded. In other words, I think I'm seeing the default home page instead of my customisation.

Any hints as to what I may be overlooking ?

Stephane

Best Answer

  • Stephane_BouillonStephane_Bouillon Customer Adept IT Monkey ✭✭
    Accepted Answer
    Hi, Cireson support helped me debug this problem, and it was caused by a syntax change

    $(window).load(function() { ... })

    is no longer valid, and has to be replaced by

    $(window).on('load', function() { ... })

    everything below that instruction in my custom.js was ignored.

Answers

  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Hey @Stephane_Bouillon

    Can't think of anything. Have you cleared cache etc?
    Are we talking about a form customisation here such as Incident.js
    Are these files still in CustomSpace (they get moved out and back during upgrade)
    Any errors in the browser?

    Geoff
  • Stephane_BouillonStephane_Bouillon Customer Adept IT Monkey ✭✭
    Thanks for your response Geoff. Yes I cleared the cache (even rebooted the server). Our customisations are in custom.js and custom.css. Some items are hidden and there is a bit of custom html. This is what our home page looked like before the upgrade:



    I did not change anything in our custom.js file, but our homepage now looks like this:



    The debugger shows the following messages in the console:


    I contacted Cireson support, and their response was "It appears the customisation is loaded, but it hasn't been updated for the new version."

    I guess I could redo my custom.js customisations, but I don't know which file I have to take as a starting point.
  • Stephane_BouillonStephane_Bouillon Customer Adept IT Monkey ✭✭
    Thanks for your response Geoff. Yes I cleared the cache (even rebooted the server). Our customisations are in custom.js and custom.css. Some items are hidden and there is a bit of custom html. This is what our home page looked like before the upgrade:



    I did not change anything in our custom.js file, but our homepage now looks like this:



    The debugger shows the following messages in the console:


    I contacted Cireson support, and their response was "It appears the customisation is loaded, but it hasn't been updated for the new version."

    I guess I could redo my custom.js customisations, but I don't know which file I have to take as a starting point.

    Below is my code (sorry I'm not allowed to add it as an attachment)

    /* ----------------------------------------------- */
    // This helps with loading scripts and debugging
    /* ----------------------------------------------- */
    // custom workitem preview on hover in wi grid
    //Show custom home page
            );

            // Hide Home Title


  • Stephane_BouillonStephane_Bouillon Customer Adept IT Monkey ✭✭
    I also seem to have lost the Advanced search widget on the home page :(
  • Stephane_BouillonStephane_Bouillon Customer Adept IT Monkey ✭✭
    My custom.css file now contains a lot of items with   !important   next to the property value. Why is that ? I did not put them there.
  • Stephane_BouillonStephane_Bouillon Customer Adept IT Monkey ✭✭
    Accepted Answer
    Hi, Cireson support helped me debug this problem, and it was caused by a syntax change

    $(window).load(function() { ... })

    is no longer valid, and has to be replaced by

    $(window).on('load', function() { ... })

    everything below that instruction in my custom.js was ignored.
Sign In or Register to comment.