How to customize / edit wiki theme in content_entry.xsl file to display tags for blog pages and not wiki pages?

I am trying to customize a wiki theme by displaying the "Edited Today at… by…" for only blog pages and not wiki pages. 
I tried editing the content_entry.xsl with an xsl if tag, but failed.
<xsl:if test="context/link='/groups/groupname/weblog/'">
  <div id="entry_date" class="entry_date">
    <a href="{../contentEntry/historyURL}" id="history_link" title="{../../jsstrings/tooltips_history_link}" onclick="return false"><xsl:value-of select="../../strings/History"/></a>
    <span id="history_time_author"><xsl:value-of select="historyTimeAuthor" disable-output-escaping="yes"/></span>
  </div>
</xsl:if>
What is the correct <xsl:if test=""> tag, that would execute this? 
For <xsl:if test="context/"> I believe the content after "context/" are variables like link, baseHREF, contentEntry.  What are other variables I can use?

I also tried it this way, but does not seem to work. 
  <xsl:if test="context/link='/groups/groupname/weblog/'">
        <xsl:template match="context/entryMeta">
            <div class="metadata" id="entry_metadata">
                <div class="start startmetadata"><span></span></div>
                    <div class="contents contentsmetadata">
                        <div id="entry_date" class="entry_date">
                                        <a href="{../contentEntry/historyURL}" id="history_link" title="{../../jsstrings/tooltips_history_link}" onclick="return false"><xsl:value-of select="../../strings/
History"/></a>
                                        <span id="history_time_author"><xsl:value-of select="historyTimeAuthor" disable-output-escaping="yes"/></span>
                              </div>
                         </div>
                    <div class="end endmetadata"><span></span></div>
               </div>
          </xsl:template>
     </xsl:if>

Similar Messages

Maybe you are looking for

  • New MacMini - Portrait Mode Issues

    Hello All, Just set up a brand new mac mini, and I am trying to get the screens set up. My Primary Monitor is a 27" Asus (recent model, can't see the model number) in Landscape Mode via Thunderbolt. My Secondary Monitor is a 24"Asus VW264H via hdml->

  • StReAmInG:OnLinE: Waterford vs Clare Live GAA QF Replay Online 14-06-2014

    http://www.codecademy.com/forum_questions/539c32de9c4e9df85b0018b4 http://www.codecademy.com/forum_questions/539c32de9c4e9df85b0018b4 http://www.codecademy.com/forum_questions/539c32de9c4e9df85b0018b4

  • Sql loader problem with point data

    I am struggling to import bulk point data. Example line from data file 2     1     Highest mountain on Skye with steep faces and narrow ridges.     4     32     3001     8307     57.206116     -6.223032     992 So its all tab deliminated 3001 is sdo_

  • Partial visibility of rows in Jtable

    Hi , I have created a JTable and added it to the scrollpane as viewport v= scrollpane.getViewport(); v.setSize(300,300) v.add(table); i have some 60 rows to be displayed . Initially when the table is shown , it is showing 19 rows (0 to 18) and 19 th

  • Import from DVD or Flash Drive??

    I have tried to import into my Library on iTunes from DVD and Flash Drive. They play in iTunes fine as long as I have the DVD or flash Drive inserted in my computer but if I take them out of my computer and click on a song, a window comes up saying f