Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.
  • Page:
  • 1
  • 2

TOPIC:

Adding a Help file 11 years 5 months ago #410

  • moodlevics
  • moodlevics's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 0
Hi

I'm just looking at creating and adding a generic help file to the HTML5 LOs. I was hoping to create the file using the bootstrap temple, which I thought would be a great use of it but it clearly isn't an accepted format (one for the future??)

What is the best file format to use for the Help file?
I've tried a word doc but it forces download (my users won't spot that!)
It didn't like a pdf at all

Many thanks
Vicky

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

Adding a Help file 11 years 5 months ago #411

  • JohnSmith
  • JohnSmith's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 397
  • Thank you received: 71
Hi Vicky,

If you want to create a Bootstrap templated Help File then simply take the play.php?template_id= url (that you see when you make it public) and put it in the Help File box but wrap it in single quotes like this - thanks for the tip Julian ;-)

'www.xerte.org.uk/'

instead up trying to upload a file and it will link to the page... We are trying to make this easier and intuitive to do and it will happen when the new editor is released..

John
The following user(s) said Thank You: moodlevics

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

Adding a Help file 11 years 5 months ago #412

  • moodlevics
  • moodlevics's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 0
Brilliant - working now
Thanks both

Vicky

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

Adding a Help file 11 years 2 months ago #844

  • moodlevics
  • moodlevics's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 0
A quick one:

What/how do I need to edit to force the bootstrap 'Help' file to open in a new window?

Thanks
vicky

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

Adding a Help file 11 years 2 months ago #853

  • JohnSmith
  • JohnSmith's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 397
  • Thank you received: 71
What does it do just now? It should be opening in a _blank tab or window but these are down to user preferences controlled by the browser - have you tried in a different browser? Note the line window.open(eval(x_params.nfo), "_blank"); below:
        if (x_params.nfo != undefined) {
                $x_footerL.prepend('<button id="x_helpBtn"></button>');
                $("#x_helpBtn")
                        .button({
                                icons: {
                                        primary: "x_help"
                                },
                                label:        x_getLangInfo(x_languageData.find("helpButton")[0], "label", "Help"),
                                text:        false
                        })
                        .click(function() {
                                window.open(eval(x_params.nfo), "_blank");
                                $(this)
                                        .blur()
                                        .removeClass("ui-state-focus")
                                        .removeClass("ui-state-hover");
                        });
        }

John

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

Adding a Help file 11 years 2 months ago #854

  • moodlevics
  • moodlevics's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 0
Hi John

It's currently opening in a new tab rather than a new window - both Chrome and IE. I suspect some of our users will be confused as to where they are.
I'll prepare a few more instructions.
Thanks for your response and the code ;-)

Vicky

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

  • Page:
  • 1
  • 2
Moderators: ingdon
Time to create page: 0.047 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search