Sie sind nicht angemeldet.

1

Donnerstag, 2. November 2017, 13:45

disable little planet intro via url parameter?

Hi,
I have a tour with little planet intro enabled. Within the tour I have some links in textfields to jump directly to a special scene. I do this with a url parameter like
https://url/tour.html?startscene=any_pano

Doing it like that causes the call of this pano again as little planet intro because it's another start of a tour. How can I prevent this? Can I change some settings via url parameter like "little planet intro=false" or sth like this?
Or can I call a pano via textfield-link without using the url plus startscene-parameter?

thanks!

2

Donnerstag, 2. November 2017, 20:37

Hi,

yes - just add skin_settings.littleplanetintro=false - e.g.:

Quellcode

1
tour.html?startscene=scene&skin_settings.littleplanetintro=false


Best regards,
Klaus

3

Donnerstag, 2. November 2017, 21:11

thanks Klaus, but this code results in a strange fatal error... *whistling*
if I enter following code directly in my browser
tour.html?startscene=restaurant&skin_settings.littleplanetintro=false

it's working fine, but when I put this code in my tour in a link in a data file,
<data name="restaurant_de">
<h2>Restaurant</h2>
<p>blabla</p><br />
<a href="tour.html?startscene=restaurant&skin_settings.littleplanetintro=false">Restaurant</a>
</data>

it results in that error.
without adding the skin_settings parameter there is no error.... *unsure*

5

Freitag, 3. November 2017, 21:40

thanks!