Support » Plugin: Simple FTP Directory Lister » Remove file extension

  • Resolved ldeschenes

    (@ldeschenes)


    @jakeob

    I like you plugin very much and I am sorry that you are not developping it anymore.

    It would be nice of you if you could indicate me how I should modify the code in order not to display the file extension ?
    Example : Presently it is displaying “Myfile.pdf” and I would like it to display only “Myfile”.

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jakeob

    (@jakeob)

    Hello ldeschenes, Im glad you like the plugin. Usually I dont really have any spare time to develop this plugin but I hade a bit today so I added the feature you were asking for 🙂

    Update the plugin and in the settings you can now select option to hide extensions. You can also hide only specific extensions (see options of the plugin).

    Thread Starter ldeschenes

    (@ldeschenes)

    @jakeob

    WOW! That is good service!

    I update the plugin and tested it.
    It does worked : the extension is removed from the display (that is exactly what I wanted THANKS)
    But the extension is also removed from the “link” and the file does not open (is not found) when clicking on it.

    Plugin Author jakeob

    (@jakeob)

    I had to do a little change inside javascript file in order not to remove the extension from the link. So if you see extension being removed from the link as well the problem is most likely that you are using old cached javascript file and not the new one. Try deleting site and browser cache.

    Thread Starter ldeschenes

    (@ldeschenes)

    You were right. Deleting the cache did the job.
    Sorry to have bother you with that.

    Thanks again for the good work and the great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.