On Mon, Nov 21, 2011 at 21:05, Shaw Yu <[email protected]> wrote:
>  Thanks helix84. You are very helpful. Yes, we use Mirage. I will try to
> modify item-view.xsl to see if I can created the needed display. If I
> understand correctly, I basically need to use the templates for the fields
> of summery view to replace the default template for detail view.

That's correct - if what you want to do is display only some items
instead all items in the detail view.

>  Where I got lost is about how to create a collection-specific display.
>
> "By default global, but of course you can also make a different
> override for different collections as you wish. To detect the
> currently displayed template you would use <metadata element="request"
> qualifier="URI"> from the pageMeta section of DRI."
>
>  Could you please explain further? I am not sure what are the files
> involved? What are the steps? Does it require to create a new theme? Is
> there any documentation about this?
>
>
> Thanks.

That's actually the easy part. It's as simple as this test:

<xsl:if
test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request
'][@qualifier='URI']='handle/123456789/123'">
  <!-- code specific for collection with handle 123456789/123 does here -->
</xsl:if>


Please, keep dspace-tech in CC when replying.

Regards,
~~helix84

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to