[Ricardo Rodriguez] eBioTIC. wrote:
Hi Marius, Lockie,
Marius Dumitru Florea wrote:
On 10/22/2010 08:56 AM, [Ricardo Rodriguez]
eBioTIC. wrote:
Hi!
Lockie wrote:
> You probably already know this so I don't know if it helps, but putting
>
> #xwikidata {
> display: none;
> }
>
> in an attached stylesheet is a way of hiding that stuff, or you could just
> put it into colibri.css directly. I guess on a per page basis though that
> might be annoying to manage. I hide it on my Main page that way.
>
>
>
Thanks. It really an easy way of hiding/showing
stuff! I'm able to
modify colibri.css and control the visibility, but how do you do that on
a per page basis? So, in what simple way do you control #xwikidata
visibility just in your home page by using an attached CSS stylesheet?
A style sheet extension on the home page should do it. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HM…
This is great stuff. Thank you so much. I've read here and there some
message about eXtensions, but I've never tried it until now. I'm sure
that there are a lot of other great features that I've not been able to
find/use yet.
Please, allow me to use this message to thanks again to the XWiki team
and to the whole community for the great work already done. I keep
trying hard to discover all what this great framework offer to us, the
users.
> The problem here though is that I'm not able to understand how I can
> recover the visibility of those elements in a migrated wiki for the
> reasons explained in the opening message of this thread. Any idea will
> be welcome!
>
Well, I'm afraid I don't understand this yet. I keep trying!
Well, I've found a workaround: I'm using this in one of the *.vm files
in the skin directory of this site:
#if($hasEdit)
#set ($showcomments="yes")
#set ($showattachments = "yes")
#set ($showhistory="yes")
#set ($showinformation = "yes")
#else
#set ($showcomments="no")
#set ($showattachments = "no")
#set ($showhistory="no")
#set ($showinformation = "no")
#end
I'm sure I'm missing something obvious, but I don't know what and I
don't know why those panels don't show by default in all and every pages
of the concerned subwiki. Thanks!
Greetings,
Ricardo
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems