Hi there,

My understanding is that you are correct, XMLUI does not allow different 
displays on a collection level.

However, we just went through this same situation, and came up with a nasty 
hack.  

In our theme's copy of template.xsl, we tested for the existence of the new 
schema, which we named "data":

    <!-- Generate the info about the item from the metadata section -->
    <xsl:template match="dim:dim" mode="itemSummaryView-DIM">
        <table class="ds-includeSet-table">
            <xsl:choose>
                <xsl:when test="dim:field[@mdschema='data']">
                    <xsl:call-template 
name="itemSummaryView-DIM-fields-DATA-mdschema">
                    </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:call-template name="itemSummaryView-DIM-fields">
                    </xsl:call-template>
                </xsl:otherwise>
            </xsl:choose>
        </table>
    </xsl:template>

Then, we created a copy of the "itemSummaryView-DIM-fields" template and 
modified it to display the alternate view. 

B--

>>> On 6/5/2011 at 11:32 PM, in message
<[email protected]>, Saqib Ilyas
<[email protected]> wrote:
> Hello
> For one of the collections on our library's DSpace installation, we need a
> customized schema. For all other collections, Dublin Core is just fine. I
> have created a new schema and bulk imported items. Is it possible to have a
> different item layout displayed when a user clicks on an item in this
> collection (while the default is followed for items in other collections)?
> For instance, a different set of fields is displayed.
>>From what I could gather through web searched, it seems that whatever I
> change in the CSS, would be global. Am I right?
> Thanks and best regards


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to