Image-stitching and virtual tour solutions My account Updates
It is currently Mon Oct 20, 2014 10:17 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Multiple XML-Files
PostPosted: Mon Nov 04, 2013 5:18 pm 
Offline
Member

Joined: Wed Mar 30, 2011 9:35 am
Posts: 21
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


Top
 Profile  
 
 Post subject: Re: Multiple XML-Files
PostPosted: Tue Nov 05, 2013 8:35 am 
Offline
Administrator
User avatar

Joined: Tue Jan 18, 2011 4:05 pm
Posts: 1697
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group