Skip to Content

Forget about the old days where you had to use a crank every now and then to start a car. I really do not want to judge – there was a time when the car battery was not yet invented and thus could not run an electrical starter which was not yet invented either. Therefore using a crank to start a car’s motor was the best solution you could get.

The same holds true for image maps within KM.

Huh?? Did I loose you? You do not know what an image map is? OK, let’s have a short break right now and have a look at one.

One

Two

Three


123


Image maps are so sexy and so cute, so fancy and so incredible intuitive that for KM they were a “must have” from the very beginning. But due to many reasons they could not be supported the straight way. One had to put a little salt here and a little pepper there until it showed up at the right place. Not to mention the need for a restart of the servlet engine. Read more about this in the great web log Have you tried creating an image map for navigating a KM repository? by Joy Hirayama. As you can get from there it was quite some effort but it was always worth the effort: people get crazy with image maps soon after video killed the radio star …

Now for the next generation:
With NW 04/SPS10 now it is possible to have image maps for arbitrary folders just the “straight HTML” way mentioned before.

    • What makes such an image map now work properly within KM?

How can I display my HTML <b>insteadof an arbitrary folder within the KM?

How can I image-map-navigate to a KM folder instead of towards websites One , Two or Three ?

For those already familiar with the configuration of “HTML Collection Renderer for the KM Flexible User Interface” I just give a brief update on what is new with SPS10.

Imagine you have a folder “Numbers” with some subfolders “One”, “Two” and “Three” where “Numbers” contains two more files “index.html” and “/wp-content/uploads/2004/11/123_39250.jpg” just for the sake of simpleness:

    1. Numbers

      index.html

      123.jpg

        1. One
        2. Two
        3. Three

Further imagine you already have a “Layout Set” which uses a “HTML Collection Renderer” and takes “index.html” as its source. This Layout Set is already “assigned” to our folder “Numbers”.

Our goal now is to let a click on either the links “One”, “Two” or “Three” or the numbers 1, 2 or 3 within the picture open the respective folder One, Two or Three.
The index.html to achieve this might look as follows:


image
For all those who are not yet familiar with HTML Collection Renderers I recommend reading “How to Configure the HTML Collection Renderer for the KM flexible user interface” here within SDN before (you might need to search for it if the link may no longer work).
</p>

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Ranjith Vijayan
    Hi,
       I have implemented the image map, thanks to your blog. I was able to navigate to external URLs like google/yahoo successfully, but when i tried to navigate to another protal URL , I am  getting the top level navigation also along with the content inside the iview. How can i get the content of the iview without the top level navigation.
      Thanks in advance .

    With Regards
    Praveen.K.T

    (0) 
    1. Hi,

      the easiest way to launch the standalone version of an iView without portal frame is to use the portal content catalogue and navigate to the iView. There you can “preview” this iView which allows to pick the URL for this particular iView.
      As far as I know there is no other way to get the launch URL of an embedded iView besides “opening it in another window” which expects that the iView header includes a menu item “open in new window”.

      Rgds, Klaus

      (0) 

Leave a Reply