Menu connector labels

Plus d'informations
il y a 6 ans 6 mois #6273 par Beth
Menu connector labels a été créé par Beth
When using the menu connector, there doesn't seem to be an option to label the menu buttons as anything other than the page title. It would be nice to be able to write "Go back to [section]" or something, rather than just the title of the page. The title property only makes a difference in the editing view. Maybe it could be made so that the Title is what appears on the button rather than the Destination Page.

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

Plus d'informations
il y a 6 ans 6 mois #6275 par ronm
Réponse de ronm sur le sujet Menu connector labels
Hi Beth
that's a good suggestion and I'll add it to our to do list. Probably just as an optional property tick box that says: Use menu connector titles as button titles.

However in the meantime you could easily achieve this with a bit of script:

1. On your menu connector page add an optional script property
2. In the script box add the following for each button label that you wish to change:
Code:
$(".ui-button-text:contains('Objectives')").html("Back to Objectives"); $(".ui-button-text:contains('Section summary')").html("Back to Section summary");

So this finds buttons on the menu connector page where the text contains whatever you add as the 'first value' and changes it to whatever you add as the 'second value' and is case sensitive. Also although it would work by just finding one word it would change all instances of that word so it's best to match the whole string and make sure each page title is unique. e.g. If you had a page named Section 1 summary and a separate page named Section 2 summary and button links to both in your menu connector and then you just added
Code:
$(".ui-button-text:contains('summary')").html("Back to Section 1 summary");
it would change both the button labels because each contains the word summary. So best to match the entire string in the first value.

Try that and let us know how you get on?
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/
Les utilisateur(s) suivant ont remercié: Beth

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

Plus d'informations
il y a 6 ans 6 mois #6276 par Beth
Réponse de Beth sur le sujet Menu connector labels
Yes, that works! Thanks very much.

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

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