Theme Changes When Browsing Exhibit Items


#1

We are having an odd thing happen when browsing items in our exhibits. OK so we have a ‘main’ theme and each exhibit has its own theme. When browsing the items in an exhibit the first item comes up with the proper theme. BUT when we go to the ‘next item’, we get the item but it pulls in the site wide theme instead of its assigned exhibit theme.

Has anyone else had this happen?


#2

Do you mean that pages in the exhibit are displaying with the main theme, or that the item pages of a item used in the exhibit are using the main theme? What is the url of the page that’s showing the main theme?


#3

http://rmc.libraryhost.com/exhibits

Pick Japanese Woodblock Prints. Click on the first item. Then from there click on the ‘next item’ link at the bottom of the page. The theme switches from the one assigned to the specific exhibit to the site-wide theme.


#4

So I guess I mean item pages within the exhibit. :grinning:


#5

When you’re in the first item, the url is http://rmc.libraryhost.com/exhibits/show/via-japanese-art-collection/item/94 .

But the previous and next buttons are the browse buttons for the entire Omeka installation and not the exhibit, so the links are http://rmc.libraryhost.com/items/show/93 and http://rmc.libraryhost.com/items/show/95 - the regular theme.

If you want, you can remove the previous and next buttons from initial item’s page


#6

I hate to ask, but…is this something that I can do myself, or do I need to get our third-paraty host to do it?


#7

Do you have access to the Omeka installation folder - for installing plugins and themes for example (usually accessed via FTP)?

If you do, you would want to go into folder for the custom theme that the exhibit is using. There should be a folder called “items” and within that a file called “show.php”. You find the section called link_to_previous_item_show() and link_to_next_item_show() and delete that section (but only that section).


#8

Ok, thank you for the clarification.


#9

Of course - let us know if you run into problems.


#10

So there’s no way to edit the link so you stay within that exhibit?


#11

You mean change it to browse next and previous items in the exhibit, rather than next and previous items in the Omeka installation?


#12

Yes, that is what I meant.


#13

Yeah, there’s really not an easy way to do that: those links just do what you’ve seen them to do by default.


#14

Yes but there is a way, right?