![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Saw the thread on turning hotspots on and off. This requires custom work in the mai XML file, but not too much work. I think that this file is generated by APT, and may be re-written every time you change the pano. But even if its not, I think it would be more elegant to have a custom file that the main XML file includes (or calls) with all your custom changes, just as wordpress does.
this way, if you want to make a new pano, you just copy custom.xml over.
It would be even better to have a configuartion ability to add certain XML to the main.xml file on building the pano. That way, if you have a feature like turn hotspots on/off, you could include it on all your panos. Then when Kolor includes it as a standard feature, you can remove it from the custom XML once and you won't have to remember to remove it when you recompile any panos.
Offline
infact such option does exist on krpano side. It exist in krpano xml syntax by using:
include mycustome.xml
unfortunately such include until now does not work in the panotour template files...
the execution of the code is determinded by the order of reading the xml lines from top to bottom. so it depends where you include your customized code.
So in most cases it makes sense to include the xml at the bottom so it can override code executed above. but sometimes it makes sens to include it on top... so such an option in ptp where the code should be added may be useful too.
would be great to have such function...
Georg
Last edited by gkaefer (2012-05-14 22:36:33)
Offline
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
