I have extracted some code from the entity.manufacturers.xml.config and applied this to the rev.manufacturers.xml.config file.
Code:
<xsl:value-of select="aspdnsf:LookupEntityImage(EntityID, $EntityName, 'icon', 0, $AltText)" disable-output-escaping="yes" />
The code from the page is shown below where I have edited $EntityName and replaced with $eName. I am not sure shy this is not returning the image. Is it not the right path to the image?
Code:
<?xml version="1.0" standalone="yes" ?>
<!-- ###################################################################################################### -->
<!-- Copyright AspDotNetStorefront.com, 1995-2009. All Rights Reserved. -->
<!-- http://www.aspdotnetstorefront.com -->
<!-- For details on this license please visit the product homepage at the URL above. -->
<!-- THE ABOVE NOTICE MUST REMAIN INTACT. -->
<!-- ###################################################################################################### -->
<package version="2.1" displayname="Manufacturers" debug="false" includeentityhelper="true">
<PackageTransform>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:aspdnsf="urn:aspdnsf" exclude-result-prefixes="aspdnsf">
<xsl:output method="html" omit-xml-declaration="yes"/>
<xsl:param name="EntityName"><xsl:value-of select="/root/Runtime/entity" /></xsl:param>
<xsl:param name="scName" select="aspdnsf:GetMLValue(Name)"></xsl:param>
<xsl:param name="ManufacturerID">
<xsl:choose>
<xsl:when test="/root/System/PageName = 'showcategory.aspx' or /root/System/PageName = 'showsection.aspx' or /root/System/PageName = 'showdistributor.aspx' or /root/System/PageName = 'showvector.aspx' or /root/System/PageName = 'showgenre.aspx'">0</xsl:when>
<xsl:when test="/root/System/PageName = 'showmanufacturer.aspx' and boolean(/root/QueryString/manufacturerid)">
<xsl:value-of select="/root/QueryString/manufacturerid"/>
</xsl:when>
<xsl:when test="(/root/System/PageName = 'showmanufacturer.aspx' or /root/System/PageName = 'showproduct.aspx') and boolean(/root/Cookies/lastviewedentityinstanceid) and /root/Cookies/lastviewedentityname = 'Manufacturer'">
<xsl:value-of select="/root/Cookies/lastviewedentityinstanceid"/>
</xsl:when>
<xsl:otherwise>0</xsl:otherwise>
</xsl:choose>
</xsl:param>
<xsl:template match="/">
<xsl:element name="ul">
<xsl:attribute name="class">
BrandsList
</xsl:attribute>
<xsl:apply-templates select="/root/EntityHelpers/Manufacturer/Entity">
<xsl:with-param name="prefix" select="''"/>
</xsl:apply-templates>
</xsl:element>
</xsl:template>
<xsl:template match="Entity">
<xsl:param name="prefix"></xsl:param>
<xsl:param name="eName" select="aspdnsf:GetMLValue(Name)" />
<li class="tame">
<xsl:value-of select="$prefix" />
<xsl:if test="number(ParentEntityID) != 0">
<span class="catMark">>></span>*
</xsl:if>
<a href="{concat('m-',EntityID,'-',SEName,'.aspx')}">
<xsl:if test="EntityID = $ManufacturerID or descendant::Entity/EntityID = $ManufacturerID">
<xsl:attribute name="style">font-weight:bold</xsl:attribute>
</xsl:if>
<!--<xsl:value-of select="$eName"/>-->
<xsl:value-of select="aspdnsf:LookupEntityImage(EntityID, $eName, 'icon', 0, $eName)" disable-output-escaping="yes" />
</a>
<xsl:if test="count(child::Entity)>0 and (EntityID = $ManufacturerID or descendant::Entity/EntityID = $ManufacturerID)">
<ul class="tame">
<xsl:apply-templates select="Entity">
<xsl:with-param name="prefix" select="concat($prefix, '**')"/>
</xsl:apply-templates>
</ul>
</xsl:if>
</li>
</xsl:template>
</xsl:stylesheet>
</PackageTransform>
</package>