Hi.

I am trying to add an about page to DSpace 1.6 according to instructions
at:

https://wiki.duraspace.org/display/DSPACE/Manakin+theme
+tutorial#Manakinthemetutorial-Addingstaticpages

I added the following to my theme's xsl file:


    <!-- Override main body -->
    <xsl:template match="dri:body">
      <div id="ds-body">
        <!-- Check for custom pages -->
        <xsl:choose>
          <xsl:when 
test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@element='request']...@qualifier='URI']='about'">
            <div>
              <h1>About Us</h1>
              <p>Lorem ipsum dolor si amet</p>
            </div>
          </xsl:when>
          <xsl:otherwise>
            <xsl:apply-templates />
          </xsl:otherwise>
        </xsl:choose>
      </div>
    </xsl:template>


Which displays the expected content when visiting
http://localhost:8080/xmlui/about But the page has the title "Page not
found" and nothing shows up in the trail links.

I am wondering what I need to do so that the page has a title and shows
up in the "trail" links. I would be grateful for any advice that could
point me in the right direction.

I apologize for the repost, but my last post had several tags removed
for some reason.

Regards,
Syd Weidman

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to