Forum Discussion

phani's avatar
phani
Advisor
8 years ago

How to change error page quilt in Page Initialization script?

Hi,

 

Is there any way we can change quilt of "Node not found"  (displays when we try to access board or category which is not present in the community. Example) dynamically in Page initialization script?

I used following code to replace quilt. Unable to change the quilt.

${http.response.replaceQuilt("ErrorPage", "ErrorPage.custom")}

 

Appreciate your help in this regard.

 

Thanks & Regards,

Phani

 

3 Replies

  • Hi phani,


    You can change Quilt in studio for Error Page by following the path:
    Studio -> Change Page -> Error page

     

    Attached SS for your reference:

     

    Hope this helps!!

     

    Thanks,

    Payal

  • phani's avatar
    phani
    Advisor
    8 years ago

    Hi Payal,

     

    Thank you for the response. 

    As per our requirement, we have to change the quilt of "Node not found" page dynamically based on role.

     

    Thanks & regards,

    Phani

  • nrkotha's avatar
    nrkotha
    Guide
    8 years ago

    As per Lithium support team, there's no way to address 'Node Not Found' pages via the page initialization script.