[EP-tech] Re: #include in Eprints 3.3.9 // error

Sebastien Francois sf2 at ecs.soton.ac.uk
Thu May 24 11:09:28 BST 2012


That kind of problems is caused by the Lightbox (JS library used by 
EPrints) being loaded twice. Have a look at the source of your example 
page: you will see that instead of returning an HTML fragment, the 
#include /cgi/latest_tool returns the entire page - so my guess here is 
that the param "?mainonly=yes" got lost on the way.

We've had many troubles with using #include too (mostly because of 
params not being passed properly to the CGI), we're using a simple Ajax 
callback now instead.


On 24/05/12 01:31, Centro de Documentación wrote:
> Here you can see what happens
> http://nulan.mdp.edu.ar/test.html
> ---------- Forwarded message ----------
> Subject: #include in Eprints 3.3.9
> To: eprints-tech at ecs.soton.ac.uk
> Hi,
> If I use<!--#include virtual="/cgi/latest_tool?mainonly=yes"-->  on my
> index.xpage the template is corrupted.
> In EP 3.2.6 worked well.
> Does anyone know what happened?
> Thanks,
> Cristian
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/

More information about the Eprints-tech mailing list