How to override files such as search.phtml from the theme directory

Hi everyone,

I am developing my own theme, and there are certain files that I would like to override from my theme directory, but I am noticing that for some, it’s not working. One of which is the view/omeka/site/item/search.phtml file. I copied from the application directory and pasted into my theme directory, made an edit and uploaded - it did not override. I made the same edit directly from the application folder, and it worked - but I do not want to have to edit the file from there, as I only want the change within a specific theme. Can anyone explain why this is, and if there’s a way to override?


There’s nothing special about search.phtml in terms of overriding; it works like any other view. Are you sure you placed your copy of the file in the right place within the theme?