Hi,

Just a few question on managing the display of asset module elements.

  • Is there a best method to hide the asset title from e.g. 'Image' asset type in this module itself?
  • Is there a reason why you cannot modify the display parameters of the asset 'title' / 'asset module element' from 'Manage Display' of asset type?
  • Would there be much work involved in patching this if it should be there and where should I start?

Thanks,
Paul.

CommentFileSizeAuthor
manage_asset_display.png50.33 KBmccrodp
manage_asset_fields.png66.21 KBmccrodp
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aasarava’s picture

Does anyone have any tips on how to hide the title on assets? I tried Display Suite, but the extras option doesn't seem to work on asset entities.

JonesUI’s picture

Issue summary: View changes

At the very least, could the title field be wrapped in a div with a class (e.g. asset-title) so we can hide it via CSS.
The title is currently wrapped in a <strong> tag which is not great for CSS targeting and not very correct semantically.

Jody Lynn’s picture

Copy asset.tpl.php to your theme and remove the title.

mccrodp’s picture

Thanks. I have not used asset in a while and I should have included a reference to the template file method you mention Jody.

However, this ticket is referring to removal of the title at the module layer / level rather than theme level.