Media-list in Default Theme

Hi everyone!
I try to remove a media list in Default theme with [PHP](default/layout.phtml at develop · omeka-s-themes/default · GitHub
, but I can’t find a the text string that will allow me to remove this DIV.
Can everyone help me?

Thanks! :pray:

Hi,

The line is actually in this file. The path : /application/view/omeka/site/item/show.phtml.

The code :

<div class="media-list">
    <?php foreach ($itemMedia as $media): ?>
        <?php echo $media->linkPretty(); ?>
    <?php endforeach; ?>
</div>

Alternatively, you could edit the CSS using display: none on the media-list class.

Just a note on the last message: you can copy a file from application/view into your theme (keeping the rest of the path the same) and edit it there, so your change won’t be overwritten by a later upgrade to the core.

Also, just as a sneak peek into what we’ve been working on, the next major version of Omeka S will have a feature to let you turn on/off and reorder parts of the show page like this media list, without having to make edits to theme files or CSS.

@g.trottier Resolved, thank you very much!

@jflatnes Thank you so much for the suggestions and anticipations! I can’t wait to try the next version of Omeka!

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.