How do I show the URL of the asset/pdf in the item page?
Here is an item page:
https://library.gc.cuny.edu/legacy/items/show/19344
Not you cannot see the asset because it is behind a proxy.
Thanks,
Stephen
How do I show the URL of the asset/pdf in the item page?
Here is an item page:
https://library.gc.cuny.edu/legacy/items/show/19344
Not you cannot see the asset because it is behind a proxy.
Thanks,
Stephen
We can’t see the page at all, actually: it’s a Forbidden error.
Anyway, if you have a File object you want the URL to, you can call $file->getWebPath()
On what file in what directory?
I added:
<?php $file->getWebPath()?>to
…/themes/berlin/items
and the page revealed errors
Is this:
<?php $file->getWebPath()?>Incorrect?