r1 - 12 Sep 2007 - 19:32:44 - TWikiGuestYou are here: CWiki >  Blogs Web > WebCss

WebCss

Switches off revision info and breadcrumbs. Switches off authorship information on postings if this blog is single-authored (or even null-authored).

Note, this only works with TWiki:Plugins.NatSkin.

%STARTINCLUDE%
~~~ .natMainHeaderContents,
~~~ .natRevision, .natWebLocator, .headlinesLogo
~~~ { display:none; }
%~~ IFDEFINED{"
*~~
%~~   DBQUERY{"TopicType=~'\bBlogAuthor\b'" web="%WEB%" limit="1" 
~~~     header="$count" format="none" separator="none"
~~~   }%" 
~~~   as="0|1" 
~~~   then=".blogAuthor, .blogAuthorSwitch {display:none;}"
~~~   glue="off"
~~~ }%
%STOPINCLUDE%

Test

 .natMainHeaderContents, .natRevision, .natWebLocator, .headlinesLogo { display:none; }
.blogAuthor, .blogAuthorSwitch {display:none;}
TopicForm
TopicType AdminTool
TopicDescription Additional css for this web
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
CWiki
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding CWiki? Send feedback.