|
| Hi,
I change a MCMS read/write site to a read only site. I am able to access all
the channels and posting in both of them.
In read/write site; when any channel does not have posting then the MCMS
"Switch to Edit Site" splash is displayed.
But in read only site; 404 - File not found error is displayed. I want to
show an Underconstruction page instead.
I tried two options.
Option 1: In IIS, in custom errors tab for the site, I mapped my error page
to the 404 error. But this has a problem; it displays underconstruction page
even when a wrong address is accessed. so I tried option 2.
Option 2: While I render the Channel name & Channel URL in the Menu; I check
if the site is Read only and does not have a posting then I set the URL to
the UnderConstruction page.
But I could get any code that will check if a site is read/write or read only.
Any solutions??
Many Thanks
|
|