Multiple XML-Files  

Share your tips and tricks here or get help with any Panotour 2.0 problem!
No bug reports (of any kind) in this forum!
no avatar
kitzhost
Member
 
Topic author
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Wed Mar 30, 2011 9:35 am
Info

Multiple XML-Files

by kitzhost » Mon Nov 04, 2013 5:18 pm

Hello, i want to use my tour with 2 different skin-XML Files. For example:
testtour1.html uses testtour1_skin.xml and
testtour2.html uses testtour2_skin.xml
with the same images.

Or can i give a $_GET variable, for example:
http://testtour.com/tour.html?s=pano01& ... =testtour1
http://testtour.com/tour.html?s=pano01& ... =testtour2

Is there any solution?

Regards

User avatar
bdd
Kolor Team
 
Posts: 1917
Likes: 3 posts
Liked in: 7 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: Multiple XML-Files

by bdd » Tue Nov 05, 2013 8:35 am

kitzhost wrote:Hello, i want to use my tour with 2 different skin-XML Files. For example:
testtour1.html uses testtour1_skin.xml and
testtour2.html uses testtour2_skin.xml
with the same images.

Or can i give a $_GET variable, for example:
http://testtour.com/tour.html?s=pano01& ... =testtour1
http://testtour.com/tour.html?s=pano01& ... =testtour2

Is there any solution?

Regards


As far as we know, krpano viewer does not allow dynamic include.
If the goal, for you is to have a different skin for mobile, tablets or desktop, you can just modify the code generated by PTP in the "main" XML, and add a "device" attribute to the "include" node including the skins.
http://www.krpano.com/docu/xml/#include
http://www.krpano.com/docu/xml/#devices-notes

Gérald


Return to Using Panotour / Panotour Pro

Who is online

Users browsing this forum: No registered users and 1 guest