You are here: Foswiki>Main Web>WebNewsBox (10 Jan 2005, oezbekPCPOOL.MI.FU-BERLIN.DE)Edit Attach

The WebNewsBox Topic

Welcome to the Main web

This is the official Wiki server of the Fachbereich Mathematik und Informatik at Freie Universität Berlin, Germany.

Read WebFAQs (in German) if you are not sure what this means for you.

Areas on this Wiki server:

You are currently in the Main web, which has administrative purposes and holds hardly anything of interest. Use the Sandbox web to try the Wiki before attempting anything serious. Then, if you find anything that is broken, please fix it.

This site is running Foswiki release 18 Dec 2024, Plugin API version 2.5

To learn more about Foswiki, visit the System web. Please ensure that the read/write permissions for each web on your site match your access control policies (see System.DefaultPreferences and Main.SitePreferences). Replace this text with a description of your new Foswiki site.

Main Web Utilities

This topic explains how to use the WebNewsBox feature.

  1. First create a topic that you would like to display in a web news box.
  2. Put the following code at the position where your would like the box to appear on the right side. Make sure to replace ---YOUR TOPIC NAME--- with the name of the topic that you want to display in the box.
    <!--
          * Set USERLAYOUTURL =  %PUBURL%/Main/WebNewsBox/newsbox.css
    -->
    
    <div class="newsBox">
    %INCLUDE{---YOUR TOPIC NAME---}%
    </div>
    
  3. If everything works alright. It should look like this topic.

Note:

  • Be aware of the interaction with the toc/page-title extension. So place the code-snippet below the top-level ---+ / header.
  • You can use STARTINCLUDE and STOPINCLUDE to limit the range of the inclusion.

-- ChristopherOezbek - 10 Jan 2005

Comments

 
Topic revision: r1 - 10 Jan 2005, oezbekPCPOOL.MI.FU-BERLIN.DE - This page was cached on 27 Feb 2025 - 20:13.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback