Forums / Setup & design / Node visibility and kernel error
Clément Matéo
Monday 02 August 2010 7:06:11 am
Hi,
I would like to change the kernel error number when I try to reach a node which has been set hidden in the back end.
for now, I get an "access denied" page. I would prefer to get a "not found" page.
Does anyone know how to do this ?
I also need to keep the "access denied" error for regular node (not hidden) which needs specific policy to be read.
Robin Muilwijk
Tuesday 03 August 2010 11:42:11 am
Hi Clément,
If you click on the "related forum topics" below your post, the third related topic is about overriding the access denied template. I haven't checked it myself, but might be worth a check.
Regards Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation. LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
Wednesday 04 August 2010 12:36:26 am
Hi Robin,
I have checked the topic about overriding the access denied template. But there is nothing I can use from there.
If I look in this way, I would like to make an override based on node visibility, and there is such option in override options... (unfortunately)
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs