Pages

Wednesday, March 14, 2012

Algorithm for Converting Old Navigation to Navigation Manager

This appears to be a frequently asked question for projects that are using the old list pull through container navigation method (the one with a connector page with a list and a container insider another container), so I am going to give out the algorithm I use.
  1. Lock down system from editors prior to running algorithm
  2. Create lst_navigation for all foundation content classes
  3. Make all foundations with lst_navigation a master page
  4. Review navigation connector page (the little page with a list that goes into a container) logic and rewrite it into navigation templates and navigation areas
  5. Foreach page instance of navigation connector, reconnect pages connected to the navigation connector list to lst_navigation of the parent page (the page with container), and delete navigation connector page instance
  6. Go into navigation manager, in the right pane, right click, click "disconnected pages" and then right click, "import pages"
  7. Depending on the size of the site, wait 30 to 45 minutes
  8. Go into navigation manager, in the right pane, right click, click "disconnected pages", find the root nood of your site, right click, "adopt page"
  9. Done
Cautionary Notes:
Old sites use the list container method so they can have separate publication package for each branch.  Also, each branch’s landing page is named index.htm.  These landing pages must be renamed or at least considered to avoid file overwrite.

Also, one must set expectation with the customer that the publishing file path for landing pages will be different since all landing pages will share the same lst_navigation and publication package.

8 comments:

  1. If someone needs to convert an old non-NavMan project to a NavMan project and this project uses the nested structure mentioned in the post of Jian, then I could provide an RQL script, that creates the linking automatically. So to be more precisely, this script could do step 5 of the description.
    Best regards,
    Manuel

    ReplyDelete
  2. THANKS JIAN HUANG! A very well written algorithm. I tried step by step posted by you. It worked great for me. You saved my time. Kudos to you ! You are great.
    landing page design

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. Generally I don't learn post on blogs, but I would like to say that this write-up very pressured me to try and do it!
    Your writing style has been surprised me. Thanks, very great post.
    cash for cars gold coast

    ReplyDelete
  5. Are you looking for a cost-free removal service of your Scrap old car? Then grab your fistful cash for scrap cars in Brisbane. Our towing services is the distinguished and we have more than 1 lakh customers.
    cash for cars brisbane south
    cash for cars sydney near me
    Cash for cars sunshine coast
    Cash for Cars Logan Qld

    ReplyDelete
  6. Onroadz offers the best self drive cars in Chennai, Coimbatore, Madurai, Trichy, Theni, Salem, Vizag, Vijayawada, Mysore, Tirunelveli and other famous cities in Tamil Nadu. You can hire

    Rental Cars in Chennai
    Self Driving Cars in Coimbatore
    Self Drive Rental Cars in Vizag
    Cars for Rent in Vijayawada
    self driving car for rent in Mysore

    ReplyDelete
  7. Win Online Casino is the perfect solution for the Indian gamblers to find the Best Online Casino India Real Money

    ReplyDelete
  8. Local car buyer, a platform where you can get top cash for all types of vehicles. We are buying cars for cash from Brisbane, Gold coast, Canberra, Perth, Melbourne etc. We ensure quick car selling with free removal at the comfort of your home.
    cash for car algester"y

    ReplyDelete