another question about the accordion view

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

another question about the accordion view

Jochen Lienhard
Hi Chris and Demian,

I still have another problem with the accordion view.
We have our own backend and record. Now, when the tabs will be loaded,
there is such a call:

https://lienhard.ub.uni-freiburg.de/rdsui2develop/RdsindexRecord/273608711/AjaxTab

This call fails, because we used RDSIndexrecord instead of RdsindexRecord.

Can you tell me, where the route may be overwritten?


-- Jochen

--
Dr. rer. nat. Jochen Lienhard
IT Dezernat

Albert-Ludwigs-Universität Freiburg
Universitätsbibliothek
Platz der Universität 2 | Postfach 1629
79098 Freiburg          | 79016 Freiburg

Telefon: +49 761 203-3908
E-Mail: [hidden email]
Internet: www.ub.uni-freiburg.de


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: another question about the accordion view

Jochen Lienhard
I get it.

In embedded_record.js in line 54 you define the urlroot for not VuFind
Backend.

Do you have a rule, that not VuFind Backend must have such a structure?
If I use
urlroot = source + 'record';
all works again.

Sorry for the question.

-- Jochen


Jochen Lienhard schrieb:

> Hi Chris and Demian,
>
> I still have another problem with the accordion view.
> We have our own backend and record. Now, when the tabs will be loaded,
> there is such a call:
>
> https://lienhard.ub.uni-freiburg.de/rdsui2develop/RdsindexRecord/273608711/AjaxTab
>
> This call fails, because we used RDSIndexrecord instead of RdsindexRecord.
>
> Can you tell me, where the route may be overwritten?
>
>
> -- Jochen
>


--
Dr. rer. nat. Jochen Lienhard
IT Dezernat

Albert-Ludwigs-Universität Freiburg
Universitätsbibliothek
Platz der Universität 2 | Postfach 1629
79098 Freiburg          | 79016 Freiburg

Telefon: +49 761 203-3908
E-Mail: [hidden email]
Internet: www.ub.uni-freiburg.de


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: another question about the accordion view

Demian Katz
This is the convention used elsewhere in VuFind -- though sorry that this undocumented behavior caused you some confusion. It is probably possible to make the code more flexible by introducing an AJAX call to look up the appropriate URL; however, it's obviously much more performant to rely on the convention on the client-side and avoid an extra HTTP transaction.

- Demian

-----Original Message-----
From: Jochen Lienhard [mailto:[hidden email]]
Sent: Tuesday, February 14, 2017 4:36 AM
To: [hidden email]
Subject: Re: [VuFind-Tech] another question about the accordion view

I get it.

In embedded_record.js in line 54 you define the urlroot for not VuFind Backend.

Do you have a rule, that not VuFind Backend must have such a structure?
If I use
urlroot = source + 'record';
all works again.

Sorry for the question.

-- Jochen


Jochen Lienhard schrieb:

> Hi Chris and Demian,
>
> I still have another problem with the accordion view.
> We have our own backend and record. Now, when the tabs will be loaded,
> there is such a call:
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flienh
> ard.ub.uni-freiburg.de%2Frdsui2develop%2FRdsindexRecord%2F273608711%2F
> AjaxTab&data=02%7C01%7Cdemian.katz%40villanova.edu%7Cfcc0c51a41ee43176
> 4dd08d454bd063a%7C765a8de5cf9444f09cafae5bf8cfa366%7C1%7C0%7C636226618
> 221513366&sdata=NXEZ1hza%2F%2BOIxU8pn5JVoG72EAtvRcl0X6AMIjo2Mzs%3D&res
> erved=0
>
> This call fails, because we used RDSIndexrecord instead of RdsindexRecord.
>
> Can you tell me, where the route may be overwritten?
>
>
> -- Jochen
>


--
Dr. rer. nat. Jochen Lienhard
IT Dezernat

Albert-Ludwigs-Universität Freiburg
Universitätsbibliothek
Platz der Universität 2 | Postfach 1629
79098 Freiburg          | 79016 Freiburg

Telefon: +49 761 203-3908
E-Mail: [hidden email]
Internet: https://na01.safelinks.protection.outlook.com/?url=www.ub.uni-freiburg.de&data=02%7C01%7Cdemian.katz%40villanova.edu%7Cfcc0c51a41ee431764dd08d454bd063a%7C765a8de5cf9444f09cafae5bf8cfa366%7C1%7C0%7C636226618221513366&sdata=JnsUiumrAp%2BovcWDAoZL3MFoUmBB4Jl8Uyfuy%2BVYVEY%3D&reserved=0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2Fslashdot&data=02%7C01%7Cdemian.katz%40villanova.edu%7Cfcc0c51a41ee431764dd08d454bd063a%7C765a8de5cf9444f09cafae5bf8cfa366%7C1%7C0%7C636226618221513366&sdata=l3MU4q9hsqxWjQJRY%2BO5UWZB2YtJh2xUtxq%2Byiwe3w4%3D&reserved=0
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fvufind-tech&data=02%7C01%7Cdemian.katz%40villanova.edu%7Cfcc0c51a41ee431764dd08d454bd063a%7C765a8de5cf9444f09cafae5bf8cfa366%7C1%7C0%7C636226618221513366&sdata=L7Sr8AVlcVb91K2uD23P%2B4V%2FVT6gfU8ZWtHg4kG9CeM%3D&reserved=0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Loading...