[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-321) Image on tab

Gleb Galkin (JIRA) jira-events at lists.jboss.org
Fri May 30 06:56:59 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBDS-321?page=comments#action_12414983 ] 
            
Gleb Galkin commented on JBDS-321:
----------------------------------

The solution is:

1. Add icons to the folder 'images'
2. Add the following template into xhtml-common and change <link rel="shortcut icon"  type="image/vnd.microsoft.icon" href="images/favicon.ico" />
according to the proper icon:

<xsl:template name="head.content">
	<xsl:param name="node" select="."/>
	<xsl:param name="title">
		<xsl:apply-templates select="$node" mode="object.title.markup.textonly"/>
	</xsl:param>

	<title xmlns="http://www.w3.org/1999/xhtml" >
		<xsl:copy-of select="$title"/>
	</title>

	<xsl:if test="$html.stylesheet != ''">
		<xsl:call-template name="output.html.stylesheets">
			<xsl:with-param name="stylesheets" select="normalize-space($html.stylesheet)"/>
		</xsl:call-template>
	</xsl:if>

	<xsl:if test="$link.mailto.url != ''">
		<link rev="made" href="{$link.mailto.url}"/>
	</xsl:if>

	<xsl:if test="$html.base != ''">
		<base href="{$html.base}"/>
	</xsl:if>

	<meta xmlns="http://www.w3.org/1999/xhtml" name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/>

	<xsl:if test="$generate.meta.abstract != 0">
		<xsl:variable name="info" select="(articleinfo |bookinfo |prefaceinfo |chapterinfo |appendixinfo |sectioninfo |sect1info |sect2info |sect3info |sect4info |sect5info |referenceinfo |refentryinfo |partinfo |info |docinfo)[1]"/>
		<xsl:if test="$info and $info/abstract">
			<meta xmlns="http://www.w3.org/1999/xhtml" name="description">
				<xsl:attribute name="content">
					<xsl:for-each select="$info/abstract[1]/*">
						<xsl:value-of select="normalize-space(.)"/>
						<xsl:if test="position() &lt; last()">
							<xsl:text> </xsl:text>
						</xsl:if>
					</xsl:for-each>
				</xsl:attribute>
			</meta>
		</xsl:if>
	</xsl:if>
	
	<link rel="shortcut icon"  type="image/vnd.microsoft.icon" href="images/favicon.ico" />

	<xsl:apply-templates select="." mode="head.keywords.content"/>
</xsl:template>


> Image on tab
> ------------
>
>                 Key: JBDS-321
>                 URL: http://jira.jboss.com/jira/browse/JBDS-321
>             Project: Developer Studio
>          Issue Type: Task
>          Components: documentation
>    Affects Versions: 1.0.0.beta2
>            Reporter: Svetlana mukhina
>         Assigned To: Gleb Galkin
>            Priority: Minor
>             Fix For: LATER
>
>         Attachments: favicon.ico, favicon0.ico
>
>
> Create image on browser tab of a guide

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list