Customer Portal

Get Involved. Join the Conversation.


    Shiloh Madsen
    How do you change to a different answer detail page?
    Topic posted September 18, 2008 by Shiloh MadsenBronze Trophy: 5,000+ Points, last edited October 29, 2011 
    1413 Views, 4 Comments
    How do you change to a different answer detail page?
    I am working on completely redesigning the portal experience to be in line with our new redesign and would like to redo answer/detail.php to be in keeping, but I would rather not overwrite this file and keep all my redesign seperate from the out of box files. As such, I have been trying to find where the code is that points to detail.php so I can change it to a location of my choosing. This would be on the answer report returned by the rnt widget standard/reports/multiline. Where can I change the location the included linked articles point to?



    • Ernie Turner
      There is a config setting named CP_ANSWERS_DETAIL_URL that is used to determine the name/url of the answers detail page, relative to the leading /app/. You can change this config to be the URL of your new answers detail page and all links should then go there.
    • monique perkins

      There are a few places you will want to change in order to use a completely new page.


      1 - There is a config CP_ANSWERS_DETAIL that lets you specify your primary detail page.  This is used to provide links in incidents, as well as create the link in the report.  If you change it to your new page you should get the new links - 

      CAUTION: - if you are on a live site this will change the production version as well


      2 - If you want to change just the report link you can go into the analytics console, copy the CP answers report, and change the url. (Right click on the column -> format -> ur)


      3 - You will aslo want ot copy the answersSearchArea widget and change the reportId and report_page to the new items. 



    • Shiloh Madsen
      Ok, that makes sense. I will do that and get back to you. Alternatively, could I just backup detail.php and then make changes directly to it?
    • monique perkins



      It's easiest to keep the same name.  The preceeding steps are if you want to change the name of the page entirely.  There is always a backup copy in views/default/pages if you need it.