March 22, 2017 at 3:22 AM #350542
Hey Tim, super, danke dir 🙂 ist es aber auch möglich nur den Vornamen anzeigen zu lassen, quasi….”Hi Marcel”….das wäre nämlich genial 🙂
Attachments:March 22, 2017 at 4:24 AM #350547
I’ll return to English as the community is international.
The whole sense of the script is to have both parts of the name in two separate variables. The message displays
“Hi VAR(firstname) VAR(lastname)” If you remove the part about the lastname, it’ll show “Hi Marcel”.
There’s a German group https://community.trivantis.com/groups/lectora-user-im-deutschsprachigen-raum/forum/
TimMarch 23, 2017 at 11:26 AM #350733
Hi Tim, thx for your help, i tried it and have again the strange result but with both variables it works.
“hi 0” is now the message
Attachments:March 23, 2017 at 11:27 AM #350736
and you can see i removed the (Var)lastname.
Attachments:March 23, 2017 at 4:02 PM #350770
Hm, did you change anything else? “0” is the initial value of the variable, so the “Display Message” action is working alright. Seems more like the script isn’t setting the name. You didn’t remove the action to “Modify variable” “username” did you? Did you test in your LMS? Did you uncheck “Publish for Seamless Play” when publishing to Scorm? (Sorry, actually I don’t know what it’s called in German) These are the three reasons I can think of causing the script to not get the name.
Here’s another sample, I tested in moodle (now 3.1.5). The textfield displays the firstname only, the message still displays both parts.
Attachments:March 29, 2017 at 4:12 PM #351417
Hey Tim, thx, this works, a little bit strange, maybe i forgot something, i had a lot to do the last days but tomorrow i will work further on my little project 🙂 i had last week another little problem, when i pasted a textfield with some text, i had another format result. That means, that the textformat in the editor view is not the same like in the Preview mode. Do you have an idea why? For me its very bad, because i have to place exactly symbols beside terms in my text
nice greetings, MarcelMarch 29, 2017 at 4:30 PM #351422
The browsers sometimes interpret Lectoras style settings differently. What exactly is different? Position of the textfield? Or formatting of the text itself?March 30, 2017 at 1:39 AM #351460
thx for your fast answer, yes the formatting of the text itself is different.
you can see it in the two pictures….really strange
Attachments:March 30, 2017 at 1:40 AM #351463
and this is how it looks like in the preview mode…
Attachments:March 30, 2017 at 2:10 AM #351468
You’ll get better results if you just split your text into separate text boxes.March 30, 2017 at 2:11 AM #351470
Math NotermansMember129 pts@mnotermans5114
Not only will things look different in preview versus editor mode, but even when you publish it might look different in different browsers. Just try and publish, then test in IE, FF, Chrome and Edge ( and if you dare even Safari ). If the look and feel of your texts and formatting is everywhere exact the same, you are very lucky. In most cases there will be differences, and if you need to get them all 100% the same, your in for quite some work. Back to the issue at hand, the difference in preview versus editor mode. I do think you should ignore both. What counts is your final output, being HTML. So publish and test that…. thats what the endresult will be. Preview in browser targetting your favourite browser for me often gives the closest result compared to a publish.
~MathMarch 30, 2017 at 2:57 AM #351474
Although it won’t look exactly the same in different browsers, the difference in line-height seems to be bigger than what was to be expected. Where did you copy the text from? If you copy directly from MS Word, it may include styling from Word. Try to paste the text again unformatted by selecting all, [Ctrl] + [x], [Ctrl] + [Shift] + [v].April 2, 2017 at 1:59 AM #351788
Hey Tim, thx this works 🙂 nice greetings MarcelApril 2, 2017 at 2:17 AM #351790
Now it makes really fun with lectora 🙂 but there a lot of things which i dont unterstand.
yesterday i looked at the templates from the elearning brothers…. i found a really cool quiz, i tested it in our LMS but the Score module didnt worked right. Do you have an idea why? Sorry for my questions but it seems you are really ingenious in Lectora. 🙂
Attachments:April 2, 2017 at 2:24 AM #351793
Math NotermansMember129 pts@mnotermans5114
Hi Marcel, first thing you might wanna check out is whether the Variable for the score is referring to the proper Quiz/Assesment. When copying /pasting or changing in Lectora those can refer to a non-existing quiz because you might renamed it.
Another possible issue might be Flash. Is that Template using Flash ?
You must be logged in to reply to this topic.