EPrints Technical Mailing List Archive
Message: #03695
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Antwort: Re: Antwort: Antwort: Re: Bazzar Plugin: Shelves
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Antwort: Re: Antwort: Antwort: Re: Bazzar Plugin: Shelves
- From: jens.vieler@id.uzh.ch
- Date: Wed, 17 Dec 2014 14:15:37 +0100
Dear Tommy,
thanks a lot. Yes, i'll confirm that i do not get the 'add' button.
We found out, that lang/en/phrases/shelves_override.xml was not installed in the right dircetory through install-process. We had to copy it by hand in the archives
~/archives/<repoid>/cfg/lang/en/phrases/shelves_override.xml
After fixing this, search-output shows the 'select shelf' and the 3rd (view shelf) and 4th (clear shelf) functional link. The first two links on top ('add alll results' and 'add page results') are not shown by CSS-Rules (!?) as we can force it to show in the browser by deleting all css via webinspector.
We're also missing 'add' or 'remove' button for each searchlist-item. See screenshot...mysterious. :-(
(See attached file: shelves.jpg)
To answer your quastion: http://www.zoratest.uzh.ch//cgi/shelves/init?t=96985 returns a {"shelfid":"1"}
httpd acces-log says:
130.60.114.60 - - [17/Dec/2014:14:04:25 +0100] "GET //cgi/shelves/init?t=96985 HTTP/1.1" 200 15 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0"
Any hints would be helpful :-)
Cheers
Jens
Tommy Ingulfsen ---12.12.2014 03:02:28---I'm very sorry this conversation is moving forwards rather slowly. I got tied down with work... If y
Von: Tommy Ingulfsen <tommy@library.caltech.edu>
An: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Datum: 12.12.2014 03:02
Betreff: [EP-tech] Re: Antwort: Antwort: Re: Bazzar Plugin: Shelves
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk
I'm very sorry this conversation is moving forwards rather slowly. I got tied down with work...
If you still have this problem, can you confirm that when you search your repository, you don't get the 'add' button after each search results? And no indication that you have selected a shelf or anything asking you to select a shelf?
If this is the case, but you can manage the shelves as admin, I suspect there is a _javascript_ issue somewhere. Could you check that
http://<myserver>/cgi/shelves/init?t=<anyeprintdid>
returns something other than 403?
Your EPRINTS/archives/<archivename>/html/en/_javascript_/auto.js file holds the UI code for interacting with the shelves. auto.js is generated from a bunch of files, including EPRINTS/lib/static/_javascript_/auto/shelves.js if I am not mistaken.
Anyway, I would start by debugging the functions showAvailableShelves() and refreshActionLinksI() within the class EPJS_Shelves_Search. I think refreshActionLinks() is responsible for setting up the buttons that you use to add and remove items from the selected shelf. Chrome has nice functionality for debugging like this. You can also use Firefox with the Firebug plugin.
tommy
From: eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of jens.vieler@id.uzh.ch [jens.vieler@id.uzh.ch]
Sent: Monday, December 08, 2014 2:43 AM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Antwort: Antwort: Re: Bazzar Plugin: Shelves
Add:
http://<myserver>/cgi/shelves/show_all_with_eprint?eprintid=<anyeprintdid> is returning
{"shelves":[{"title":"JV","id":"1","is_eprint":"0"}]}
which is my first test-shelf. So all in all i think it's no cgi-config problem, cause this works!? :-\
Jens
jens.vieler---08.12.2014 11:36:00---Dear Tommy, thank you.
Von: jens.vieler@id.uzh.ch
An: eprints-tech@ecs.soton.ac.uk
Datum: 08.12.2014 11:36
Betreff: [EP-tech] Antwort: Re: Bazzar Plugin: Shelves
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk
Dear Tommy,
thank you.
We already have a "Options +ExecCGI " in the <Location ""> directive, thinking eprints/cfg/apache.conf, which is used by httpd is doing the same (don`t have is no EPrints/archives/<archivename>/var/auto-apache.conf).
I really cant`t figure it out because there is no error-message at all... :-(
Jens
--
Jens Vieler
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zürich
mail: jens.vieler@id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch
Tommy Ingulfsen ---05.12.2014 03:27:52---Hi Jens I too had some issues installing the Shelves plugin, but eventually got it to work. I'm not
Von: Tommy Ingulfsen <tommy@library.caltech.edu>
An: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Datum: 05.12.2014 03:27
Betreff: [EP-tech] Re: Bazzar Plugin: Shelves
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk
Hi Jens
I too had some issues installing the Shelves plugin, but eventually got it to work. I'm not sure, but I think I had a similar problem to you. After some painful debugging, it turned out that a CGI script was not being executed because the Apache config did not allow it to do so. When I added "Options ExecCGI" under the <Location ""> directive within EPrints/archives/<archivename>/var/auto-apache.conf the offending CGI script started working and the problem was resolved.
Why don't you try that and let us know how that works for you.
tommy
From: eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of Ajunk Pracetio [prazetyo@gmail.com]
Sent: Thursday, December 04, 2014 4:43 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Bazzar Plugin: Shelves
I will waiting your IRStats documentation Adam.
On Wed, Dec 3, 2014 at 10:14 PM, Field A.N. <af05v@ecs.soton.ac.uk> wrote:
- I have looked around and cannot find any documentation on this. Is there anyone in that can write some for Jens? I am planning to write some IRStats II documentation on Friday, but can come back to this if no-one else is able to.
If a volunteer can get in contact with me, I can make sure they have access to the wiki.
--
Adam
On 3 Dec 2014, at 14:51, jens.vieler@id.uzh.ch wrote:
> Dear Collegues,
>
> we want to add the shelves-plugin from the eprints bazzar to our repository but unfortunately it doesn`t work.
>
> After installing the package, we could see the admin-tool while logged in, generate a new shelf, manage
> it within admin-view, BUT there is no "Add to shelf"-Button - nor in the search, the workflow ...nowhere.
>
> I see it working on http://eprints.soton.ac.uk, on the other hand i found 3 guys who failed through installation/config... so my quastion ist:
>
> Does anybody uses AND knows howto add shelves?!
>
> Could anybody give me a hint? Any help is apeachiated.
>
> Kind regards from Zürich
> Jens
>
> PS: I also miss an REAME, documentation or things like this.
>
> --
> Jens Vieler
> Informatikdienste
> Universität Zürich
> Winterthurerstr. 190
> CH-8057 Zürich
>
> mail: jens.vieler@id.uzh.ch
> phone: +41 44 63 56777
> http://www.id.uzh.ch
>
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/
--
Adam Field
Business Relationship and Community Manager
EPrints Services
*** 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/
*** EPrints developers Forum: http://forum.eprints.org/
--
Life isn't valuable if you don't have someone to care*** 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/
*** EPrints developers Forum: http://forum.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/
*** EPrints developers Forum: http://forum.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/
*** EPrints developers Forum: http://forum.eprints.org/
Attachment:
shelves.jpg
Description: JPEG image
- References:
- [EP-tech] Re: Bazzar Plugin: Shelves
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Bazzar Plugin: Shelves
- From: Tommy Ingulfsen <tommy@library.caltech.edu>
- [EP-tech] Antwort: Re: Bazzar Plugin: Shelves
- From: jens.vieler@id.uzh.ch
- [EP-tech] Antwort: Antwort: Re: Bazzar Plugin: Shelves
- From: jens.vieler@id.uzh.ch
- [EP-tech] Re: Bazzar Plugin: Shelves
- Prev by Date: [EP-tech] Re: Restricting export of field based on value of another field
- Next by Date: [EP-tech] Eprints on Amazon EC2
- Previous by thread: [EP-tech] Re: Antwort: Antwort: Re: Bazzar Plugin: Shelves
- Next by thread: [EP-tech] Re: Antwort: Re: Antwort: Antwort: Re: Bazzar Plugin: Shelves
- Index(es):