Forums / Developer / Hiding nodes / Comment57222

Author Topic

Nicolas Pastorino

Tuesday 23 February 2010 8:05:57 am

Comment57222

Hello!

I am afraid what you want to achieve it not a native feature. From inspecting the nodes' table, you can see how the node visibility is stored:

mysql> describe ezcontentobject_tree;
+----------------------------+--------------+------+-----+---------+----------------+
| Field                      | Type         | Null | Key | Default | Extra          |
+----------------------------+--------------+------+-----+---------+----------------+
...
| is_hidden                  | int(11)      | NO   |     | 0       |                |
| is_invisible               | int(11)      | NO   |     | 0       |                |
...
+----------------------------+--------------+------+-----+---------+----------------+

further illustrated by this piece of documentation : http://ez.no/doc/ez_publish/technical_manual/4_x/concepts_and_basics/content_management/node_visibility

In short, the visibility is stored at the node level, and seems to be language-proof, meaning you probably will need to implement some sort of high level, home brew per-language-visibility system to satisfy your needs.

Anyone else has already done this ?

Hope this helped,
Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye