[xwiki-users] Regarding hidden documents and the navigation panel
Hello, I've searched the forums through and through and I have not found a solution to deleting the "hidden" documents that come with the mass deletion of a page. Even the DeleteSpaceSnippet does not delete them despite saying that it does, and they do not appear on the search function either. A second question I have is regarding the navigation panel. The current navigation panel is limited such that, once its height exceeds 250 pixels, it will stop displaying items. This is a problem for larger sections, and I do not want to change the maximum height to a ridiculous number. Is there any way to add a scroll bar? If that is not possible, is there a reliable tree view navigation panel that I could use? (I am not familiar with the syntax, so I do not know how to program them myself) Thanks!
Jason Yang wrote:
Hello,
I've searched the forums through and through and I have not found a solution to deleting the "hidden" documents that come with the mass deletion of a page. Even the DeleteSpaceSnippet does not delete them despite saying that it does, and they do not appear on the search function either.
In my humble opinion, the concept of a hidden page was flawed from the start. If you have programming permission (for groovy scripts) you should be able to end your hidden woes with this snippet. {{groovy}} session = xcontext.getContext().getWiki().getHibernateStore().getSessionFactory().openSession(); session.beginTransaction() session.createQuery("update XWikiDocument as doc set doc.hidden = false where doc.hidden = true").executeUpdate(); session.getTransaction().commit(); {{/groovy}} Remember to back up your database when making any changes no matter how small.
A second question I have is regarding the navigation panel. The current navigation panel is limited such that, once its height exceeds 250 pixels, it will stop displaying items. This is a problem for larger sections, and I do not want to change the maximum height to a ridiculous number. Is there any way to add a scroll bar? If that is not possible, is there a reliable tree view navigation panel that I could use? (I am not familiar with the syntax, so I do not know how to program them myself)
Probably something you can do with CSS, I would try tinkering around with firebug but I am no CSS expert. Caleb
Thanks! _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks for the reply! Although, I'm not sure what that script does. Do I just paste it onto a page, and it will make hidden documents visible? Caleb James DeLisle wrote:
A second question I have is regarding the navigation panel. The current navigation panel is limited such that, once its height exceeds 250 pixels, it will stop displaying items. This is a problem for larger sections, and I do not want to change the maximum height to a ridiculous number. Is there any way to add a scroll bar? If that is not possible, is there a reliable tree view navigation panel that I could use? (I am not familiar with the syntax, so I do not know how to program them myself)
Probably something you can do with CSS, I would try tinkering around with firebug but I am no CSS expert.
Caleb
Alright I'll try that I guess. Thanks! -- View this message in context: http://xwiki.475771.n2.nabble.com/Regarding-hidden-documents-and-the-navigat... Sent from the XWiki- Users mailing list archive at Nabble.com.
It modifies them to make them no longer hidden (ever again) Caleb Zyferous wrote:
Thanks for the reply!
Although, I'm not sure what that script does. Do I just paste it onto a page, and it will make hidden documents visible?
Caleb James DeLisle wrote:
A second question I have is regarding the navigation panel. The current navigation panel is limited such that, once its height exceeds 250 pixels, it will stop displaying items. This is a problem for larger sections, and I do not want to change the maximum height to a ridiculous number. Is there any way to add a scroll bar? If that is not possible, is there a reliable tree view navigation panel that I could use? (I am not familiar with the syntax, so I do not know how to program them myself)
Probably something you can do with CSS, I would try tinkering around with firebug but I am no CSS expert.
Caleb
Alright I'll try that I guess. Thanks!
participants (3)
-
Caleb James DeLisle -
Jason Yang -
Zyferous