Information Panel doesn't show txt   [SOLVED] - View the solution

This forum is fully dedicated to Panotour / Panotour Pro bug reports as well as feature discussion.
User avatar
mjaszo
Member
 
Topic author
Posts: 70
Likes: 6 posts
Liked in: 3 posts
Joined: Mon Jul 18, 2011 1:17 pm
Location: Biala Podlaska / Warsaw
Info

Information Panel doesn't show txt

by mjaszo » Fri Nov 06, 2015 7:02 pm

Hi,
Information panel doesn't work on clients server. It's ok on mine. Any hints what could have been blocked/lost etc? I don't have the access to the server. Links:
"My" tour (click "i"): http://www.full-frame.pl/vt/spacerwirtualny/chopin.html
The same tour on client's www (click "i"): http://pl.chopin.warsawtour.pl/wirtualny-spacer/
Thanks!

User avatar
Annis
Kolor Team
 
Posts: 6063
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Information Panel doesn't show txt

by Annis » Tue Nov 10, 2015 9:56 am

I get a 404 message for the messages_pl.xml file, which is where all your tooltips and description texts are kept. Without it, the description will be empty.
Developer Tools - httppl.chopin.warsawtour.plspacerchopin-pl.html.png


Make sure your client uploads all the files of the tour.

User avatar
mjaszo
Member
 
Topic author
Posts: 70
Likes: 6 posts
Liked in: 3 posts
Joined: Mon Jul 18, 2011 1:17 pm
Location: Biala Podlaska / Warsaw
Info

Re: Information Panel doesn't show txt

by mjaszo » Tue Nov 10, 2015 10:09 am

How come titles and other txts work OK? I'll double check the file.

no avatar
Destiny
Moderator
 
Posts: 7879
Likes: 6 posts
Liked in: 227 posts
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia
Info

Re: Information Panel doesn't show txt

by Destiny » Tue Nov 10, 2015 10:38 am

Hi.. The body of the text is a web based and is supported by web protocols. The client is using a strange url.. I have never seen that before and would suggest that the web support is not there using that kind of url... But there again, I am only guessing since I have never seen that before...

http://pl.chopin.warsawtour.pl/wirtualny-spacer/

Destiny..

User avatar
Annis
Kolor Team
 
Posts: 6063
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Information Panel doesn't show txt

by Annis » Tue Nov 10, 2015 10:42 am

There's been some hand modifications to your built tour, and the file names of the xml have been changed, so one of the js files isn't calling upon the right file name, since it has been changed.

The KolorBootstrap.js file has to be modified, line 227, "chopindata/chopin_messages_" changed to "chopindata/chopin_messages-" since that is apparently the name of the file on the server.

mjaszo likes this post.

User avatar
mjaszo
Member
 
Topic author
Posts: 70
Likes: 6 posts
Liked in: 3 posts
Joined: Mon Jul 18, 2011 1:17 pm
Location: Biala Podlaska / Warsaw
Info

Re: Information Panel doesn't show txt  [SOLVED]

by mjaszo » Tue Nov 10, 2015 4:13 pm

Yes, it was about renamed files. Thanks a lot! Too many hands on the project :) Another thing: now I have fixed Polish (main) version:
http://pl.chopin.warsawtour.pl/wirtualny-spacer/
and would like to fix German (DE) and other:
http://de.chopin.warsawtour.pl/virtueller-spaziergang/
http://en.chopin.warsawtour.pl/virtual-tour/
etc.
How it's done is we have one set of images for all versions and multiple files for each one f.e. chopin-de.html, chopin-en.html etc. calling txts (<include url="%FIRSTXML%/chopin_messages-de.xml"/>).
When I use the KolorBootstrap.js I have, I get the needed language but still Polish description, like in EN version (...initLanguage('pl'...?)
For German I copied Polish KolorBootstrap.js, renamed to KolorBootstrap-de.js, changed initLanguage('de'... and called it from chopin-de.html - I have DE txt and no "i" decriptions.
What should I do?

User avatar
benji33
Kolor Team
 
Posts: 5764
Likes: 86 posts
Liked in: 191 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Information Panel doesn't show txt

by benji33 » Wed Nov 18, 2015 10:32 am

Has the file name has been changed from chopin_messages_ to chopin_messages-
You have to edit all calls to chopin_messages_ into chopin_messages- into the KolorBootstrap.js file.
Have a look here :
Code: Select all
/**
 * @function
 * @description This function is called when tour language is updated.
 * @return {void}
 */
function eventTourChangeLanguage (pLang) {
   if ( debug ) {
      console.log('change tour language : '+pLang);
   }
   
   ktools.I18N.getInstance().initLanguage(pLang, crossDomainTargetUrl+'chopindata/chopin_messages_','.xml');
}

mjaszo likes this post.


Who is online

Users browsing this forum: No registered users and 2 guests