Report any technical problems you discover and discuss solutions.

Image filename with single quotation marks

  • Neil Pollock
  • Auteur du sujet
  • Hors Ligne
  • Membre premium
  • Membre premium
Plus d'informations
il y a 8 ans 2 semaines #5205 par Neil Pollock
Image filename with single quotation marks a été créé par 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?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 ans 2 semaines #5206 par ronm
Réponse de ronm sur le sujet 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/

Connexion ou Créer un compte pour participer à la conversation.

  • Neil Pollock
  • Auteur du sujet
  • Hors Ligne
  • Membre premium
  • Membre premium
Plus d'informations
il y a 8 ans 2 semaines #5208 par Neil Pollock
Réponse de Neil Pollock sur le sujet 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...

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 ans 2 semaines - il y a 8 ans 2 semaines #5209 par ronm
Réponse de ronm sur le sujet 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/
Dernière édition: il y a 8 ans 2 semaines par ronm.
Les utilisateur(s) suivant ont remercié: Neil Pollock

Connexion ou Créer un compte pour participer à la conversation.

  • Neil Pollock
  • Auteur du sujet
  • Hors Ligne
  • Membre premium
  • Membre premium
Plus d'informations
il y a 8 ans 2 semaines #5211 par Neil Pollock
Réponse de Neil Pollock sur le sujet Image filename with single quotation marks
Sorry, I should have thought of trying that! Obvious now you've said it...

Thanks Ron.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.160 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo