Okay, I am admitting defeat. I cannot get one particular Manakin theme
working on all pages, and I can't figure out why not.

Broken page in theme:
<http://minds-test.wisconsin.edu/manakin/handle/1960/10498>
Another broken page in theme:
<http://minds-test.wisconsin.edu/manakin/handle/1960/208>
Working page in theme: <http://minds-test.wisconsin.edu/manakin/handle/1960/122>

Here's the code that governs the basic structure of the page. What
appears to be happening is that the so-called "goodies boxes" end up
nested incorrectly for no readily apparent reason. I know that the
variables work as intended; I've got them in place on another theme.

Whoever solves this is entitled to a night out with me paying for all
their beverages, at the next conference we both attend. I am
completely stuck. I'll be happy to forward the entire theme if that
will help.

    <xsl:template match="dri:document">
        <html>

            <!-- First of all, build the HTML head element -->
            <xsl:call-template name="buildHead"/>
            <!-- Then proceed to the body -->
            <body>
                <div id="wrapper">
                    <!--
                        The header div, complete with title, subtitle,
trail and other junk. The trail is
                        built by applying a template over pageMeta's
trail children. -->
                    <xsl:call-template name="buildHeader"/>
                    <xsl:call-template name="buildOptions" />
                    <!--
                        Goes over the document tag's children
elements: body, options, meta. The body template
                        generates the ds-body div that contains all
the content. The options template generates
                        the ds-options div that contains the
navigation and action options available to the
                        user. The meta element is ignored since its
contents are not processed directly, but
                        instead referenced from the different points
in the document. -->
                    <div id="content-wrapper">
                        <xsl:if test="$is_comm or $is_coll">
                            <xsl:attribute
name="class">with-goodies-box</xsl:attribute>
                        </xsl:if>
                        <div id="content">
                            <xsl:apply-templates />
                        </div>
                        <xsl:if test="$is_coll or $is_comm">
                            <xsl:call-template name="goodienav"/>
                            <xsl:call-template name="goodieabout"/>
                            <xsl:call-template name="goodiedeposit"/>
                        </xsl:if>
                    </div>

                    <xsl:call-template name="buildFooter"/>
                </div>

            </body>
        </html>
    </xsl:template>

-- 
Dorothea Salo                [EMAIL PROTECTED]
Digital Repository Librarian      AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to