Re: [xwiki-users] Hide unneeded stuff
Marius Dumitru Florea wrote > A quick inspect shows that the page modification info is wrapped inside a > DIV with class xdocLastModification. Are you asking how you write a CSS > selector for this? You have an example in your list. I added xdocLastModification - works! Thanks! -- View this message in context: http://xwiki.475771.n2.nabble.com/Hide-unneeded-stuff-tp7601051p7601058.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hide unneeded stuff
Hi Eugen, > On 05 Sep 2016, at 09:59, Eugen Colesnicovwrote: > > Hello, > > I need to hide all technical stuff in a one wiki page (headers, footers, > comments, attachments, etc). For the tabs at the bottom, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HTurningoffcommentsorattachments If you use CSS then you’ll still get menu entries in the page menu to navigate to them and the links won’t work… Thanks -Vincent > I did it all except page modification info > (user, date & time). > I used StyleSheetExtension with content like this: > /* Hide unneeded stuff */ > #contentmenu, > #footerglobal, > #hierarchy, > #document-title, > #xdocFooter, > #docextrapanes, > #xwikidata, > /* #commentform, */ > /*.xwikitabbar li, */ > /* #Historyshortcut, */ > /* #Informationshortcut, */ > .separator, > .commentheader .commenttools a, > a.tag-delete, > .tag-add a > { > display: none !important; > } > > But I cannot understand what I should add in this list for hiding page > modification info. > Please help. > > Thanks beforehand! > Eugen > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Hide-unneeded-stuff-tp7601051.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hide unneeded stuff
On Mon, Sep 5, 2016 at 10:59 AM, Eugen Colesnicovwrote: > Hello, > > I need to hide all technical stuff in a one wiki page (headers, footers, > comments, attachments, etc). I did it all except page modification info > (user, date & time). > I used StyleSheetExtension with content like this: > /* Hide unneeded stuff */ > #contentmenu, > #footerglobal, > #hierarchy, > #document-title, > #xdocFooter, > #docextrapanes, > #xwikidata, > /* #commentform, */ > /*.xwikitabbar li, */ > /* #Historyshortcut, */ > /* #Informationshortcut, */ > .separator, > .commentheader .commenttools a, > a.tag-delete, > .tag-add a > { > display: none !important; > } > > But I cannot understand what I should add in this list for hiding page > modification info. > A quick inspect shows that the page modification info is wrapped inside a DIV with class xdocLastModification. Are you asking how you write a CSS selector for this? You have an example in your list. > Please help. > > Thanks beforehand! > Eugen > > > > -- > View this message in context: http://xwiki.475771.n2.nabble. > com/Hide-unneeded-stuff-tp7601051.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hide unneeded stuff at print preview
On 12/07/2009 03:30 PM, etvc wrote: I need to hide all stuff at the print preview form, exept page contents. Logo, title, and all of them ... How I can do that? As I understand, I need to edit print.css file in folder of my skin (colibri for example). At this file exists section with comment /* Hide unneeded stuff */, but I cannot underdstand what I should add for hidding all? I already hide all objects below main page content, but for objects above - I cannot do that. What I should to add in this section in print.css for my situation? #headerglobal, #hierarchy, #document-title, #document-info { display: none; } Hint: Firebug ( http://getfirebug.com/ ) is a very useful Firefox extension for web developers, that can give you very quick answers to such questions. There are similar tools for other browsers as well. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hide unneeded stuff at print preview
Thanks a lot! All is great, except of a small issue ... I added line #headerglobal, #hierarchy, #document-title, #document-info, #xdocFooter, #docextrapanes, in the corresponding section, and all header and footer objects was fully hide, but also appeared second empty page, when I tried to print a result. Second empty page appeared in any case even through my page content consist of one text line, BUT only if I hide all header and footer objects ... It's not a big problem, but maybe is it possible to correct this issue? Sergiu Dumitriu-2 wrote: On 12/07/2009 03:30 PM, etvc wrote: I need to hide all stuff at the print preview form, exept page contents. Logo, title, and all of them ... How I can do that? As I understand, I need to edit print.css file in folder of my skin (colibri for example). At this file exists section with comment /* Hide unneeded stuff */, but I cannot underdstand what I should add for hidding all? I already hide all objects below main page content, but for objects above - I cannot do that. What I should to add in this section in print.css for my situation? #headerglobal, #hierarchy, #document-title, #document-info { display: none; } Hint: Firebug ( http://getfirebug.com/ ) is a very useful Firefox extension for web developers, that can give you very quick answers to such questions. There are similar tools for other browsers as well. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hide-unneeded-stuff-at-print-preview-tp4126306p4130747.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users