Report any technical problems you discover and discuss solutions.

Image filename with single quotation marks

  • Neil Pollock
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
8 jaren 2 weken geleden #5205 door Neil Pollock
Image filename with single quotation marks werd gestart door 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?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
8 jaren 2 weken geleden #5206 door ronm
Beantwoord door ronm in topic Image filename with single quotation marks
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/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Neil Pollock
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
8 jaren 2 weken geleden #5208 door Neil Pollock
Beantwoord door Neil Pollock in 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...

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
8 jaren 2 weken geleden - 8 jaren 2 weken geleden #5209 door ronm
Beantwoord door ronm in topic Image filename with single quotation marks
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/
Laatst bewerkt 8 jaren 2 weken geleden door ronm.
De volgende gebruiker (s) zei dank u: Neil Pollock

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Neil Pollock
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
8 jaren 2 weken geleden #5211 door Neil Pollock
Beantwoord door Neil Pollock in topic Image filename with single quotation marks
Sorry, I should have thought of trying that! Obvious now you've said it...

Thanks Ron.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.138 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo