Menu connector labels

  • Beth
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
6 jaren 6 maanden geleden #6273 door Beth
Menu connector labels werd gestart door 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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
6 jaren 6 maanden geleden #6275 door ronm
Beantwoord door ronm in topic 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/
De volgende gebruiker (s) zei dank u: Beth

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Beth
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
6 jaren 6 maanden geleden #6276 door Beth
Beantwoord door Beth in topic Menu connector labels
Yes, that works! Thanks very much.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

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