"include" behaviour has been changed in pr16

  • Hello everybody


    i used a lot of "includes" in my template. So now i decided to move to pr16 and my template does not work.



    now i have to start every xml with <krpano>
    almost everything was fine till i came to layers


    now structure like
    <layer name="skin_main">
    <include url="social.xml"/> (social.xml contains set of layers)
    </layer>
    does not work anymore


    with <krpano> tags it just does not includes
    without it there is xml parsing failure


    are there any solution for that?

  • Code
    (social.xml contains set of layers)


    that was really possible without the full xml tree (in social.xml) ?

    yes. that still works with pr14

    social.xml looks like

    Code
    <layer name="social_btns" keep="true" align="leftbottom" width="150" height="100%" visible="true" type="container" > 
        <layer name="twitter_btn" url="twitter.png" keep="true"
            etc...
    </layer>

    and i haven't to update every tour if i decide to change something in layout.

  • Hi,

    each xml files needs to contain a <krpano> root xml element.

    In older versions it was also partially working without when there was only one xml element in the xml file, but that was never considered as correct or as supported.

    Because of changes in the xml parsing and to be able to detect if decrypting an encrypted xml files was successful, the xml parser needs now to be more strict here.

    Best regards,
    Klaus

Jetzt mitmachen!

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