Collection Links Not Working Anymore

Hello all,

I am experiencing a new glitch that I’m hoping is easy to fix. The collection links on both the collection cover image and on the collection names on the Item pages are either linking to the wrong collection (in the case of the collection cover image it seems to be defaulting globally to the first collection, rather than the collection that the user is currently looking at) to they are showing a JavaScript void (in the case of the collection names on the Item pages). See the screenshots below. Any ideas as to how this can be fixed?

Thank you.

BJG

NOTE: If you look up in the URL field you can see that this is collection #15, but down in the bottom of the screenshot you can see that the collection cover’s URL is pointing to collection #1.

NOTE: At the bottom of the screenshot you can see what the “Nihil Est Superius” collection link is pointing to. Nothing happens when it is clicked on.

The javascript:void(0) links are the result of disabling the Link Author Names theme option.

I don’t recall why this feature exists but it’s in the Advanced section of the Curatescape Echo theme settings. See screenshot below.

Re-enabling that setting will restore the link.

For the issue with the collection image, that appears to be a bug.

See line 53 of the collections/show.php template:

<?php echo isset($image[0]) ? rl_gallery_figure($image[0], 'featured', true) : null;?>

Edit the last argument from the rl_gallery_figure function so that it reads:

<?php echo isset($image[0]) ? rl_gallery_figure($image[0], 'featured', WEB_ROOT.'/items/browse?collection='.$collection->id) : null;?>

Let me know if that fixes the issue.

Or wait a bit and I’ll issue a new version of the theme.

Thank you. Worked like a charm.