• What's wrong with my code? It just doesn't work properly:

    • <include url="../../../skin/defaultskin.xml" /> does only work if I put it in the <scene>tags
    • the radar does only work if I put it in the <scene>tags
    • only the wohnzimmer-link on the map works (at <!-- Kartenlinks -->)

    I tried to construct the code like in the examples, but it seems I have done something wrong. Please help. :)

    0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

    Edited once, last by Dr. Schneckem (December 23, 2009 at 1:47 PM).

  • Hi Dr. Schneckem,

    I will suggest you to use placeholders in your URLs ... This can help to avoid path problems:

    • %FIRSTXML% - path of the first loaded xml file
    • %CURRENTXML% - path of the current loaded xml file
    • %SWFPATH% - path of the swf file
    • %HTMLPATH% - path of the html file

    for example:

    Code
    <include url="%SWFPATH%/path_relative_to_your_krpano.swf/skin/defaultskin.xml" />

    SAlut.

  • Hi,

    What's wrong with my code? It just doesn't work properly:

    • <include url="../../../skin/defaultskin.xml" /> does only work if I put it in the <scene>tags
    • the radar does only work if I put it in the <scene>tags
    • only the wohnzimmer-link on the map works (at <!-- Kartenlinks -->)

    when a new pano/scene will be loaded (with the MERGE flag),
    then all plugins/hotspots without the - keep="true" - setting will be removed,

    this is the case in your example,
    so add the keep="true" to all <plugin> elements (buttons,radar,map,..) that should be kept
    on loading an other pano/scene,

    e.g.

    Code
    <plugin ... keep="true" ... />

    best regards,
    Klaus

  • Thank you! The radar is working now. But the defaultskin.xml still only gets loaded if I put in in each scene, even though I'm using placeholders now. The path is correct.
    The arbeitszimmer-link didn't operate because I accidentally named it "wohnzimmer", which already existed. *rolleyes*

    0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

  • Hi Dr. Schneckem,

    As Klaus said in his post above, I think the problem is the attribute keep in each plugin inside the defaultskin.xml... They are set (not set) to the default value :

    keep (NEW - Version 1.0.7 and higher)
    important flag for virtual tour or conntect panoramas!
    possibly values: true or false, default=false
    when keep is set to true the plugin/hotspot is kept when loading other panoramas, otherwise it will be removed

    So, I think you have to edit the defaultskin.xml file, to set each plungin with the attribute keep="true"

    SAlut.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!