• rameshmehay

    (@rameshmehay)


    Hi Roger (hope I’ve got the right name).
    Thank you so much for this plug in – it is absolutely magic! If I was over there, I’d give you a big hug.

    M1downloads works well on my website. There is one slight snag though. doc files show as a Word icon but docx and rtf files show as a blank icon. Again ppt – shows powerpoint icon. But pptx and pps are shown as blanks.

    How can I link it up so docx and rtf shows the same icon as a word doc file.
    And pptx and pps the same as ppt.

    Thanks

    Dr Ramesh Mehay
    Oh one last thing – Out of interest – is it actually possible to not to show the icons at all – perhaps just a bullet point instead?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rameshmehay

    (@rameshmehay)

    PS Thanks for all you do

    Plugin Author maennchen1.de

    (@maennchen1de)

    Hi rameshmehay!
    Until now, only following Icons will be displayed:

    bz2
    c
    cpp
    doc
    exe
    h
    htm
    htm
    gif
    gz
    jpg
    js
    m 
    mp3
    mpg
    pdf
    png
    ppt
    rar
    swf
    txt
    xls
    zip
    dir

    If there is a filename with an unknown extension, m1.Downloadlist will display the default icon: /icons/file.gif.
    You can enhance the code by replacing it in index.php:
    'doc' => plugins_url( '/icons/docfile.gif', __FILE__ ),
    with:

                'doc'  => plugins_url( '/icons/docfile.gif', __FILE__ ),
                'docx'  => plugins_url( '/icons/docfile.gif', __FILE__ ),

    There is sadly no parameter to disable the whole icons.

    Thread Starter rameshmehay

    (@rameshmehay)

    Thank you so much for such a speedy reply. I wasn’t expecting that! So, not only do you provide us with a fab plugin but also incredible support. Thank you, thank you, thank you.

    In terms of the issue I raised, if I add these amendments, the problem is they will be lost with the next update and I’ll have to keep adding them each time.

    So, in your next update (no rush whatsoever), would it be possible to do the following…
    = Map docx and rtf to the same word icon for doc files.
    = Map pptx and pps to the same powerpoint icon for ppt file.

    What do you think? Is that a reasonable suggestion?

    Dr Ramesh Mehay
    PS Many people using your plugin (like me) are not any good at coding (and too scared to mess anything up). I am a doc who just messes with websites here and there in my spare time. Nevertheless, I am grateful to people like you who share things freely.

    Plugin Author maennchen1.de

    (@maennchen1de)

    I am happy to hear this.
    This will come with the next update.
    I just want to give you this hint, before the next release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Icons for RTF, DOCX, PPTX, PPS’ is closed to new replies.