Laurent Gauthier created MSKINS-87:
--------------------------------------
Summary: Add possibility to refer to external CSS in fluido skin
configuration
Key: MSKINS-87
URL: https://jira.codehaus.org/browse/MSKINS-87
Project: Maven Skins
Issue Type: Improvement
Components: Fluido Skin
Affects Versions: fluido-1.3.0
Reporter: Laurent Gauthier
This is a proposed and tested enhancement to the fluido skin custom config to
allow the addition of one or more links to CSS files in generated html. The
enhanced custom config supports a <cssLinks> element as in the following
example:
<custom>
<fluidoSkin>
<topBarEnabled>true</topBarEnabled>
<topBarIcon>
<!-- To be completed -->
</topBarIcon>
<cssLinks>
    <cssLink>
http://server.name.domaine/path/to/stylesheet.css</cssLink>
  </cssLinks>
  </fluidoSkin>
</custom>
The site.vm velocity template file must be modified to include the following
snippet at line 783 (v1.3.0):
#if ( $decoration.custom.getChild( 'fluidoSkin' )
   && $decoration.custom.getChild( 'fluidoSkin' ).getChild( 'cssLinks' ))
  #foreach( $item in $decoration.custom.getChild( 'fluidoSkin' ).getChild(
'cssLinks').getChildren() )
        <link rel="stylesheet" href="$item.getValue()" />  Â
   Â
  #end     Â
#end
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira