Re: Freemind mindmap and glossary links problem

Re: Freemind mindmap and glossary links problem

by Thomas Hutchins -
Number of replies: 11

Hello!

I see this is an old thread but I have not seen an answer and I am having the same problem as Britt Bassett.

In our Glossary we have entries that are two words long for example: "Internal Medicine".

I have tried using the strategies Britt showed without success. What can be used to link to the desired Glossary entry.

We are linking from mindmaps.

Thank you for any response!

(Edited by Joseph Rézeau - original submission Wednesday, 5 February 2014, 11:35 AM)

Average of ratings: -
In reply to Thomas Hutchins

Re: manual link to two word entries in mdl 2.0

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

@Thomas,

1.- Unfortunately you don't say which exact version of Moodle you are using.

2.- "We are linking from mindmaps." What do you mean? Please explain in detail, preferably attaching screenshots.

Joseph

In reply to Joseph Rézeau

Re: manual link to two word entries in mdl 2.0

by Thomas Hutchins -

Thank you for replying so quickly!

1. We are using Moodle 2.6+ (Build: 20131213)

2. We are using Freemind mindmap files (.mm) with manually embedded links to glossary entries. The filter shows the mindmap with the clickable arrows. Clicking a link with a single word entry in the Glossary works fine. Double word links do not.

 

Attachment DoubleWordLink.png
Attachment SingleWordLink.png
In reply to Thomas Hutchins

Re: manual link to two word entries in mdl 2.0

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

It's really impossible for me to test out your problem without any freemind maps files available. Can you send me some to my email address in my profile?

Your problem may come from a problem with the moodle freemind filter. See this discussion: https://moodle.org/mod/forum/discuss.php?d=75178

Joseph

In reply to Joseph Rézeau

Re: manual link to two word entries in mdl 2.0

by Thomas Hutchins -

It is possible to test the problem using just links.

Create a two word glossary entry (concept= two words)

Try to link to it using the following:

http://URL/mod/glossary/view.php?id=NR&show=two words

Where URL is your URL and NR is the glossary ID nr.

This link brings up nothing.

Setting show to one or the other of the two words finds no entries either.

If a concept is a single word and is in the glossary, the above with show=word  will return this entry.

In reply to Thomas Hutchins

Re: manual link to two word entries in mdl 2.0

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Thomas "Try to link to it using the following: http://URL/mod/glossary/view.php?id=NR&show=two words
Where URL is your URL and NR is the glossary ID nr."

That is not the "normal" way to call up a glossary entry in Moodle. I'm surprised it even works with one word and not surprised it does not work with a 2-word entry.

Joseph

EDIT.-

a) The reason it does not work is a PHP general problem, not a Glossary or a Moodle problem. In the URL you cannot pass more than a single word as a parameter. If you pass e.g. &show=Internal Medicine, this will be automatically concatenated to a single word parameter "&show=InternalMedicine".

b) The only workaround I can suggest is as follows. Edit your "Internal Medicine" entry, and, in the Keyword(s) field, add "InternalMedecine" (as a single word). I have tried, it works.

c) However, I'm curious to know why, when coding those glossary hyperlinks "manually" you do not choose a more obvious kind of link.

In reply to Joseph Rézeau

Re: manual link to two word entries in mdl 2.0

by Thomas Hutchins -

I appreciate your taking the time to work through this.

a) I am aware of the behaviour and have tried a number of workarounds. This is how I found Britt Bassett's question:

https://moodle.org/mod/forum/discuss.php?d=171000

There are a number of examples that were tried there.

In Moodle 1.9 we used the link 

http://URL/mod/glossary/showentry.php?courseid=IDNR&concept=two%20words

to do what we are trying to do and this worked correctly. Unhappily this no longer works.

We may try b) but I am most curious about the "more obvious" links mentioned in c) as they are unhappily not obvious to me.

 

 

In reply to Thomas Hutchins

Re: manual link to two word entries in mdl 2.0

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

@Thomas,

You still have not explained how you do this: "2. We are using Freemind mindmap files (.mm) with manually embedded links to glossary entries."

Joseph

In reply to Joseph Rézeau

Re: manual link to two word entries in mdl 2.0

by Thomas Hutchins -

I have copied in a sligthly adapted source file for a freemind mindmap.

=====

<map version="0.9.0">
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
<node COLOR="#ff0000" CREATED="1267619611362" ID="Freemind_Link_1659510211" MODIFIED="1274790274109" STYLE="bubble" TEXT="Greeting">
<edge STYLE="bezier" WIDTH="thin"/>
<font NAME="SansSerif" SIZE="14"/>
<node CREATED="1267621896467" HGAP="36" ID="_" LINK="http://URL/mod/glossary/view.php?id=415&show=Welcome" MODIFIED="1276675615250" POSITION="right" TEXT="Welcome." VSHIFT="-33">
<edge WIDTH="thin"/>
<node CREATED="1267698867227" ID="Freemind_Link_98913112" LINK="http://URL/mod/glossary/view.php?id=415&show=Hello" MODIFIED="1276675700453" TEXT="Hello, ...">
<node CREATED="1273074020109" ID="Freemind_Link_876847539" LINK="http://URL/mod/glossary/view.php?id=415&show=Morning" MODIFIED="1276675634546" TEXT="Good morning."/>
<node CREATED="1273074028023" ID="Freemind_Link_973024790" LINK="http://URL/mod/glossary/view.php?id=415&show=Afternoon" MODIFIED="1276675645906" TEXT="Good afternoon."/>
<node CREATED="1273074038462" ID="Freemind_Link_1348607741" LINK="http://URL/mod/glossary/view.php?id=415&show=Evening" MODIFIED="1276675674234" TEXT="Good evening."/>
</node>
<node CREATED="1274790321061" ID="Freemind_Link_1791577477" MODIFIED="1274790327502" TEXT="Nice to meet you."/>
</node>
<node CREATED="1267626290971" HGAP="26" ID="Freemind_Link_752121840" LINK="http://URL/mod/glossary/view.php?id=415&show=Farewell" MODIFIED="1276675686218" POSITION="right" TEXT="Farewell." VSHIFT="11">
<node CREATED="1267626317877" HGAP="31" ID="Freemind_Link_1435929160" LINK="http://URL/mod/glossary/view.php?id=415&show=Goodbye" MODIFIED="1276675881578" TEXT="Good bye!" VSHIFT="20"/>
<node CREATED="1267626358139" HGAP="32" ID="Freemind_Link_1534744265" MODIFIED="1276594574863" TEXT="Keep well!" VSHIFT="10"/>
<node CREATED="1267626366035" HGAP="31" ID="Freemind_Link_156627244" MODIFIED="1276594577528" TEXT="See you ..." VSHIFT="-19">
<node CREATED="1274790422030" ID="Freemind_Link_1040082354" MODIFIED="1276675738375" TEXT="on Monday."/>
<node CREATED="1274790426768" ID="Freemind_Link_1390461403" MODIFIED="1276676034484" TEXT="tomorrow."/>
<node CREATED="1274790430096" ID="Freemind_Link_1038220040" LINK="http://URL/mod/glossary/view.php?id=415&show=Week" MODIFIED="1276675919703" TEXT="next week."/>
</node>
<node CREATED="1274790411647" HGAP="31" ID="Freemind_Link_1285818217" LINK="http://URL/mod/glossary/view.php?id=415&show=Weekend" MODIFIED="1276675750687" TEXT="Have a nice weekend!" VSHIFT="-42">
<node CREATED="1276594598540" ID="ID_463109355" MODIFIED="1276594602399" TEXT="Thanks!"/>
</node>
</node>
</node>
</map>

=====

In reply to Joseph Rézeau

Re: manual link to two word entries in mdl 2.0

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

In order to test the problem at hand, I have tried to install Freemind on my moodle 2.6 test site but I can't get it to work.

Unfortunately the documentation here is outdated, as it only exists for moodle 2.0. The problem is that it is difficult to find one's way through all those versions of Java, Freemind itself and the freemind filter.

Any pointers to a recent, coherent documentation would be welcome.

Joseph

In reply to Joseph Rézeau

Re: manual link to two word entries in mdl 2.0

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Well, I have finally understood how freemind works and how you insert a Hyperlink in a Node. When I wrote about "a more obvious kind of link", here is what I was thinking how doing things.

Suppose in your Moodle course glossary you have an entry "internal medicine". And you want to insert in the "internal medicine" node of your mind map a hyperlink to that Glossary entry.

  1. In your Moodle course, create a "page" resource. Call it e.g. "Medical Terminology"
  2. In that page, write some text that includes the "internal medicine" phrase. Save and display that page.
  3. The phrase "internal medicine" should be displayed as a hyper-link to your glossary entry. Hover the mouse over it, right-click and in the contextual menu of your browser, select "copy the link". It will be something like "http://yourmoodlesite/mod/glossary/showentry.php?courseid=4&eid=234&displayformat=dictionary"
    screenshot #1
  4. Now, in your freemind editor, insert a link in your "internal medicine" Node, by copying that link. screenshot #2

To simplify the task, you might consider copying to your "Medical Terminology" HTML page all the glossary entries that you will need to link to from your mind map, and repeat the operation described above.

This will work with "double word entries", pending the fixing of the bug I reported in the tracker.

Joseph

In reply to Joseph Rézeau

Re: manual link to two word entries in mdl 2.0

by Thomas Hutchins -

Thank you for all your effort! I am quite amazed and thankful for what you have done.

Actually, we did something similarly some years ago when we started using the freemind linking. We had eids etc. One of the partners found the content= link type and we felt at the time that it would be easier to support for the future. Oh well smile