On Tue, May 24, 2011 at 10:47 AM, André <[email protected]> wrote:

> Thanks a lot, Hardy, Peter and Mark.
>
> I tried following Hardy's and Peter's directions and also studied the
> wikis/guides (thank you for the links, Hardy!)
>
> I still can't figure out how to make it work (page title still "Page not
> found", no breadcrumbs and no contents showing)
> That's what I've got so far:
>

The NESCent implementation solves this and that is why I forwarded it to
you. You need to alter the xslt template that generates the title and insert
your own, by using xhtml as the source of the static content, the NESCent
solution takes the title from that XHTML source, replacing the generated
""Page not found"" caused by the fact that no DRI content was rendered in
the body portion of the DRI chain.

I also suggested that if there were an issue with the actual status code
being 404, that it might be possible to create a simple aspect that matched
on the same xhtml directory listing and generated a dri:body/dri:div in the
pipeline, leading to no 404 error. this could be implemented in java or in
xslt. to get an idea how to do the later you cans ee the use of an xslt as
part of your aspect chain here:

https://wiki.duraspace.org/display/DSPACE/Emetsger__ExampleAspects__RestrictProfileEdit

In fact, this approach could enable the injection of static content almost
anywhere in the site without significant alteration of the theme level xslt.

Best,
Mark

-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to