Page 1 of 1

Is it possible to have xml custom template so we dont need to edit

PostPosted: Mon Nov 22, 2010 4:42 pm
by digipano
Is it possible to have xml custom template so we don't need to edit every time we generate tours?

I want to add right click menu options (various projections) but don't see where can I edit the xml?

PostPosted: Mon Nov 22, 2010 4:58 pm
by gkaefer
xml files can be edited with every normal text editor. some do also have syntax highlighning like Cromson Tide or Ultraedit (bot windows)
to get the xml files on disk you've to disable the embed option inside APT / PTP...

and how statement needed for projections see:
http://krpano.com/docu/projections/

Liebe Gruesse,
Georg

PostPosted: Mon Nov 22, 2010 5:02 pm
by digipano
Georg,
that's what I am doing as of now but every time I generate a tour the edited xml files get overwritten so I was thinking if I can save a xml template & use that in APT.

Is that possible?

PostPosted: Mon Nov 22, 2010 5:25 pm
by gkaefer
digipano wrote:Georg,
that's what I am doing as of now but every time I generate a tour the edited xml files get overwritten so I was thinking if I can save a xml template & use that in APT.

Is that possible?

ok see. think so:
(on windows PTP files get saved under:)
C:\Users\xxx\AppData\Local\Kolor\PanotourPro15\Templates\html
the javaWithFullScree.html contains one promising line:

Code: Select all
//swf.addVariable("xml", "pano1.xml");                            //uncomment this line to load another xml first

Liebe Gruesse,
Georg