Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011
    Posts
    12
    Plugin Contributions
    0

    Default Audio Preview Name?

    I have audio previews using the media manager but it displays the full name of the file such as "Preview.mp3"
    How can I remove the "mp3" part of the name it's displaying?
    Here's an example on one of my product pages.
    http://www.loopartists.com/cart/inde...products_id=59

    Thanks!

  2. #2
    Join Date
    Apr 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: Audio Preview Name?

    Anybody?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Audio Preview Name?

    Quote Originally Posted by timbreman View Post
    I have audio previews using the media manager but it displays the full name of the file such as "Preview.mp3"
    How can I remove the "mp3" part of the name it's displaying?
    Edit /includes/templates/NAME_OF_YOUR_TEMPLATE_FOLDER/templates/tpl_modules_media_manager.php
    Change this line by adding the extra code shown:
    <div class="mediaTypeLink"><a href="<?php echo zen_href_link(DIR_WS_MEDIA . $za_clip['clip_filename'], '', 'NONSSL', false, true, true); ?>" target="_blank"><?php echo '<span class="mediaClipFilename">' . str_replace('.mp3', '', $za_clip['clip_filename']) . '</span>' . (!empty($za_clip['clip_type']) ? '<span class="mediaClipType"> (' . $za_clip['clip_type'] . ')</span>' : ''); ?></a></div>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Audio Player to preview MP3s
    By Yolanda in forum General Questions
    Replies: 10
    Last Post: 12 Aug 2014, 02:16 PM
  2. customizing product list for audio preview
    By jmnyc in forum General Questions
    Replies: 2
    Last Post: 22 Jan 2010, 05:35 AM
  3. Audio Preview
    By durkmusic in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 12 Aug 2009, 07:40 PM
  4. Is it possible to add a Preview to Audio Downloads?
    By jaz1974 in forum General Questions
    Replies: 1
    Last Post: 14 Apr 2009, 08:05 PM
  5. Audio Preview
    By amanuensis in forum General Questions
    Replies: 1
    Last Post: 6 Oct 2007, 07:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg