Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

Image filename with single quotation marks 6 years 4 months ago #5205

  • Neil Pollock
  • Neil Pollock's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 92
  • Thank you received: 4
I accidentally uploaded an image with single quotation marks in the filename via Project Properties, and now I can't delete it. I suspect (maybe wrongly) that the single quotation marks are causing an issue with the Javascript, e.g.
<div class="filename notfound" style="cursor:hand; cursor:pointer;" onclick="setup_download_link('https://xerte.cardiff.ac.uk/USER-FILES/6720-sisnp2-Nottingham/media/neil's_quotes's_mistake.png', 'Download this file', '6720-sisnp2-Nottingham/media/neil's_quotes's_mistake.png')">neil's_quotes's_mistake.png</div>

Just wondering how I go about deleting it?

Please Log in or Create an account to join the conversation.

Image filename with single quotation marks 6 years 4 months ago #5206

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
Hi Neil
if you select the project in the workspace and then select Properties > Media and Quota are you able to delete it from there? You may need to make sure it isn't in use first e.g. remove it from the page in the editor.
Let us know whether that works or not and if not I can obviously remote into your server and remove the file if needed.
HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Log in or Create an account to join the conversation.

Image filename with single quotation marks 6 years 4 months ago #5208

  • Neil Pollock
  • Neil Pollock's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 92
  • Thank you received: 4
No, that's where I can't delete it from. It not used in the project at all, and it's showing as not in use, but won't respond to clicks...

Please Log in or Create an account to join the conversation.

Image filename with single quotation marks 6 years 4 months ago #5209

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
Ah ok then get into the media browser either via the editor toolbar or via a page type with import media option and then select > right click > delete the file from there.
I just tested this and it works fine but for anyone else finding or reading this thread please confirm that it worked for you too?
HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
The following user(s) said Thank You: Neil Pollock

Please Log in or Create an account to join the conversation.

Last edit: by ronm.

Image filename with single quotation marks 6 years 4 months ago #5211

  • Neil Pollock
  • Neil Pollock's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 92
  • Thank you received: 4
Sorry, I should have thought of trying that! Obvious now you've said it...

Thanks Ron.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.049 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search