Ignore:
Timestamp:
11/25/08 00:57:30 (4 years ago)
Author:
KennethLavrsen
Message:

Item221: Finish the TWiki:Codev to Foswiki:xxx conv
Had to leave a few behind in docs that were to hard to convert
old extensions that probably are out of date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DragonSkin/data/TWiki/DragonSkinInstall.txt

    r906 r929  
    1313        4. Set the contents of the DS_QUICKLINKS submenu.  Instructions on how to do so (or hide this submenu entirely) are in %SYSTEMWEB%.DragonSkinCustomize.  
    1414        5. Do any other customizations (fonts, etc) as per %SYSTEMWEB%.DragonSkinCustomize. 
    15         6. (Optional) If you are still using the default TWiki robot logo, the skin will look much better if you change it to something else, such as twikiRobot121x54.gif from TWiki:Codev.TWikiLogosDropInReplacementsWhite. 
    16         7. (Optional) Replace the default TWiki site map with %SYSTEMWEB%.DragonSkinSiteMap. 
     15        6. (Optional) If you are still using the default Foswiki robot logo, the skin will look much better if you change it to something else. 
     16        7. (Optional) Replace the default Foswiki site map with %SYSTEMWEB%.DragonSkinSiteMap. 
    1717---+++ Browser issues 
    1818!DragonSkin has been tested on IE6, Firefox, IE5.2/Mac, and fairly recent versions of Firefox, Mozilla, Opera, Safari, Camino, and Netscape, and appears to work on those browsers (Firefox and IE6 have been used the most).  It has not been tested at all on IE5/Win, and may have display problems with that browser.  Netscape 4.x should see the skin without any CSS formatting. 
    1919---++ Customizing the installation 
    20 *Note:* When creating !DragonSkin-related CSS classes or TWiki variables, use a prefix of *ds-* for CSS classes (e.g. _ds-myclass_) and *DS_* for TWiki variables (e.g. _DS_MYVARIABLE_). This will help prevent namespace confusion. 
     20*Note:* When creating !DragonSkin-related CSS classes or Foswiki macros, use a prefix of *ds-* for CSS classes (e.g. _ds-myclass_) and *DS_* for Foswiki macros (e.g. _DS_MYVARIABLE_). This will help prevent namespace confusion. 
    2121---+++ Including the left menu from a topic 
    22         1. Create a topic with the menu contents.  When doing so, be careful about including blank lines in the menu, since the TWiki renderer will insert paragraph tags and mess up the layout.  Also, use %<nop>INCLUDINGWEB% when necessary to make sure that searches and links to topics like !WebPreferences will reference the right web.  Note that including the menu from a topic will be slightly slower than using it directly from the template file. 
     22        1. Create a topic with the menu contents.  When doing so, be careful about including blank lines in the menu, since the Foswiki renderer will insert paragraph tags and mess up the layout.  Also, use %<nop>INCLUDINGWEB% when necessary to make sure that searches and links to topics like !WebPreferences will reference the right web.  Note that including the menu from a topic will be slightly slower than using it directly from the template file. 
    2323        2. Change the templates/dragonmenu.dragon.css file to just have the single line %<nop>INCLUDE{"%SYSTEMWEB%.DragonMenuTopic"}% (or whatever your menu topic is called).  
    2424---+++ Adding site-specific CSS styles 
    25 If you want to add a site-specific CSS style, add it to pub/%<nop>SYSTEMWEB%/DragonSkin/typography.css, since that file is included in every theme.  Alternatively, add another import rule to the definition of dragoncss in templates/foswiki.dragon.tmpl that imports a site-specific css file, and put all local styles in that file.  If your style makes use of TWiki variables, add it to templates/dragoncssvars.dragon.tmpl, so variables will get expanded. 
     25If you want to add a site-specific CSS style, add it to pub/%<nop>SYSTEMWEB%/DragonSkin/typography.css, since that file is included in every theme.  Alternatively, add another import rule to the definition of dragoncss in templates/foswiki.dragon.tmpl that imports a site-specific css file, and put all local styles in that file.  If your style makes use of Foswiki macros, add it to templates/dragoncssvars.dragon.tmpl, so variables will get expanded. 
    2626 
Note: See TracChangeset for help on using the changeset viewer.