<
From version < 7.2 >
edited by Ecaterina Moraru (Valica)
on 2012/04/11
To version < 8.1 >
edited by Vincent Massol
on 2012/04/12
>
Change comment: Move hiding content feature to developer section since that's what it is now + added missing explanation

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.evalica
1 +XWiki.VincentMassol
Content
... ... @@ -12,10 +12,14 @@
12 12  
13 13  {{image reference="EM-progressTab.png"/}}
14 14  
15 -== New technical content hiding system ==
15 +== For developers ==
16 16  
17 -The basic support for hidden documents introduced in XWiki Enterprise 1.7 has been extended into a fully usable feature. For advanced users, it is now possible to specify that a document should be hidden when editing the document (only //wiki// or //wysiwyg// edit modes):
17 +=== New technical content hiding system ===
18 18  
19 +{{warning}}In this release we have only implemented the content hiding **mechanism**. At the moment, using it will not have any effect on the default UI you see (no documents will be filtered). We will gradually update all places listing documents in the UI to use the new mechanism in XWiki Enterprise 4.1. That said, if you're a developer we encourage you [[to test out the new content filtering API>>extensions:Extension.Query Module]].{{/warning}}
20 +
21 +The basic support for hidden documents introduced in XWiki Enterprise 1.7 has been reimplemented differently (the previous implementation was not allowing anyone to see hidden documents). For advanced users, it is now possible to specify that a document should be hidden when editing the document (only //wiki// or //wysiwyg// edit modes):
22 +
19 19  {{image reference="hidden.png"/}}
20 20  
21 21  And now there's a new setting in the user profiles, letting users chose if they want hidden documents to appear in search results or not:
... ... @@ -22,10 +22,8 @@
22 22  
23 23  {{image reference="hiddenSettings.png"/}}
24 24  
25 -Now when a user doesn't choose "Yes" in the preferences above, he will not be displayed documents marked as "hidden" in the results of queries using the "hidden" filter. [[More information about the hidden filter in the query guide>>http://platform.xwiki.org/xwiki/bin/view/DevGuide/QueryGuide#HFromVelocity]]
29 +Now when a user doesn't choose "Yes" in the preferences above, he will not be displayed documents marked as "hidden" in the results of queries using the "hidden" filter.
26 26  
27 -== For developers ==
28 -
29 29  === Changes in the ComponentManager API ===
30 30  
31 31  The new ##lookupComponent## method (which we had introduced in 4.0M1 with the introduction of Generics support) has been renamed to ##getInstance##. New ##getInstanceList## and ##getInstanceMap## has also been introduced to replace ##lookupList## and ##lookupMap##.

Get Connected