EPrints Technical Mailing List Archive
Message: #00629
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: #include in Eprints 3.3.9 // error
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: #include in Eprints 3.3.9 // error
- From: Centro de Documentación <cendocu@gmail.com>
- Date: Thu, 24 May 2012 10:22:58 -0300
Seb, It works beautiful. I really appreciate your kindness. Regards, Cristian On Thu, May 24, 2012 at 8:11 AM, Sebastien Francois <sf2@ecs.soton.ac.uk> wrote: > There you go: > > <div id="eplatest"/> > <script type="text/javascript"> > new Ajax.Updater( 'eplatest', '/cgi/latest_tool', { > parameters:"mainonly=yes"}); > </script> > > You may have to add CSS to the "eplatest" <div> to limit its height etc. > > Seb. > > On 24/05/12 12:08, Centro de Documentación wrote: >> Hi Sebastien, >> >> Many thanks for your quick answer. >> >> Could you give me an example using an Ajax callback? >> >> Regards, >> >> Cristian >> >> >> >> >> On Thu, May 24, 2012 at 7:09 AM, Sebastien Francois<sf2@ecs.soton.ac.uk> wrote: >>> Hi, >>> >>> 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. >>> >>> Seb. >>> >>> 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@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/ >>> *** 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/ >> *** 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/ > > *** 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/
- References:
- [EP-tech] Re: #include in Eprints 3.3.9 // error
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] #include in Eprints 3.3.9 // error
- From: Centro de Documentación <cendocu@gmail.com>
- [EP-tech] Re: #include in Eprints 3.3.9 // error
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: #include in Eprints 3.3.9 // error
- From: Centro de Documentación <cendocu@gmail.com>
- [EP-tech] Re: #include in Eprints 3.3.9 // error
- Prev by Date: [EP-tech] Re: #include in Eprints 3.3.9 // error
- Next by Date: [EP-tech] Re: Unicode characters rendering in IE
- Previous by thread: [EP-tech] Re: #include in Eprints 3.3.9 // error
- Next by thread: [EP-tech] ubuntu upgrade breaks eprints
- Index(es):