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
> 

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to