page template files - edit or not?
-
Just exploring OmekaS and I notice the item show page includes the item title with a text box [ITEM] next to it.
Obviously how it is displayed depends on the theme, but it seems embedded in the page layout, not the theme.
I would like to remove this, and looked at editing the template file show.phtml. But in Cloudron this is read-only.
I would certainly prefer not to muck about with the default layout files. Is there another way to remove the [ITEM] flag ?
Side-note : if the item has a title resource, it shows twice, as page title and in metadata descriptors. May be ok in some uses, but seems like duplication. I guess I can set it to private to avoid double display
-
Just exploring OmekaS and I notice the item show page includes the item title with a text box [ITEM] next to it.
Obviously how it is displayed depends on the theme, but it seems embedded in the page layout, not the theme.
I would like to remove this, and looked at editing the template file show.phtml. But in Cloudron this is read-only.
I would certainly prefer not to muck about with the default layout files. Is there another way to remove the [ITEM] flag ?
Side-note : if the item has a title resource, it shows twice, as page title and in metadata descriptors. May be ok in some uses, but seems like duplication. I guess I can set it to private to avoid double display
I managed to locate in Developer Manual that it is possible to override a template by copying it into a theme directory, and editing it there.
Will give that a go. -
I managed to locate in Developer Manual that it is possible to override a template by copying it into a theme directory, and editing it there.
Will give that a go.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login