Can't load textfield plugin

  • Hello,

    i have some troubles with the textfield plugin.
    I'm working on a virtual tour, the xml structure is :
    tour.xml (load)-> 1.xml (load)->obj_pano1.xml
    .etc...

    So, tour.xml is my global xml with view parameters, loading actions...
    1.xml is the description of the panoramic 1 with hotspots and camera move...
    obj_pano1.xml contains the hotspot for object description : click on a table -> show textfield with description of the product.

    The problem is that i can't show the textfield and, with firebug (in firefox), textfield plugin is not loading...
    How can i solve my problem ?

    you can see the problem at http://www.boutique-lapetitepierre.fr/tour_/ turn left and click on the flash hotspot on the bag.


    Thank you

  • Hi,

    the problem is the KEEPALL flag in the loadpano() calls,
    when KEEPALL is set, all current plugins are kept and plugins from the
    new loaded xml are not loaded!
    use MERGE instead, and set the "keep" attribute to "true" of all
    global plugins (like buttons, editor, ...)

    best regards,
    Klaus

  • Hi,

    thanks for your answer, but when i use MERGE nothing work, (even i erase all include) the panorama loads, loads, loads, but nothing...
    When i use KEEPALL, all work but i can't get the textfield.
    I try the loadxml() method in the tour.xml when i load the pano1 on start, and nothing happens.

    I update at the adress http://www.boutique-lapetitepierre.fr/tour_/
    I make a zip : http://www.boutique-lapetitepierre.fr/tour_/tour.zip if you want get the files to see what happen *wink*

    Thanks.

  • Hi,

    you found a new bug *wink*

    the "enterfs" and "exitfs" plugins/buttons were the problem,
    they don't have the "keep" attribute set to "true",

    "keep" is default set to "false" and this means this plugins will be
    removed when loading the next xml, and this "next" xml was loaded at the beginning,
    and this was so quick, that the loading of the plugins/buttons was not finished when
    krpano tries to remove them - this was the bug/problem *wink*
    I fixed it now for the next version.

    to make your tour working also working now - just add keep="true" to these
    two plugins (enterfs and exitfs) in the tour.xml or just remove them,

    e.g. - add keep="true" (tour.xml):

    Code
    <plugin name="enterfs" url="btn_openfs.jpg"  ... keep="true" />
    <plugin name="exitfs"  url="btn_closefs.jpg" ... keep="true" />

    best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!