Closed kimisgold closed 1 year ago
I'm getting this error on the front end:
Error Object of class Omeka\View\Helper\ResourcePageBlocks could not be converted to string
Details:
Error: Object of class Omeka\View\Helper\ResourcePageBlocks could not be converted to string in /var/www/html/katknow/OmekaSTesting/themes/centerrow/view/omeka/site/item/browse.phtml:36 Stack trace:
Looks like a bug/typo in centerrow's implementation.
I had implemented the blocks here before we updated the core to include some helpers with the resource page block functionality. The theme's now updated and ready for another look.
The item set blocks are working as described. I'm able to move things around and add/remove blocks from the item page, but for some reason the media list (and it seems only the media list) wants to align on the right:
When I click through to the media page, I get this error:
Error Object of class Omeka\View\Helper\ResourcePageBlocks could not be converted to string
Details:
Error: Object of class Omeka\View\Helper\ResourcePageBlocks could not be converted to string in /var/www/html/katknow/OmekaSTesting/themes/centerrow/view/omeka/site/media/show.phtml:12 Stack trace:
The error and the media list right alignment persists across browsers, even when hard refreshed.
I forgot to follow up on this, but it seems like it may have been fixed among a bunch of changes that have been applied since. Could you try to reproduce this media list bug?
Everything seems to be working as expected now
This is the theme-specific issue for omeka/omeka-s#1859. Please test this using the latest version of Omeka S on the
develop
branch.Center Row now supports configurable resource page blocks. On a site's theme settings panel, select Center Row's "Configure resource pages" button. Test that blocks can be reordered, removed, and readded on the show views of items, media, and item sets. Center Row only has a single "Main" block region.