Report any technical problems you discover and discuss solutions.

Image filename with single quotation marks

  • Neil Pollock
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 weeks ago #5205 by Neil Pollock
Image filename with single quotation marks was created by Neil Pollock
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.
Code:
<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.

More
8 years 2 weeks ago #5206 by ronm
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.

  • Neil Pollock
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 weeks ago #5208 by Neil Pollock
Replied by Neil Pollock on topic Image filename with single quotation marks
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.

More
8 years 2 weeks ago - 8 years 2 weeks ago #5209 by ronm
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/
Last edit: 8 years 2 weeks ago by ronm.
The following user(s) said Thank You: Neil Pollock

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

  • Neil Pollock
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 weeks ago #5211 by Neil Pollock
Replied by Neil Pollock on topic Image filename with single quotation marks
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.

Moderators: ronmjultenJohnSmith
Time to create page: 0.130 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo