Hi all,
we have embedded an Xplain project in Help & Manual.
When publishing WITHOUT option "Run in Lightbox after Click" everything works fine.
When publishing WITH option "Run in Lightbox after Click" (this is our preferred publishing methode) we run into an 404 and the main HTML file in the xplain is not found. The generated iframe searches for src="./xplain/dashboardtest.html" which is available. in the domain www.our-domain.de/help/de/xplain/dashboardtest.html, but the iframe searches for www.our-domain.com/xplain/dashboardtest.html
I totally do not understand due to the ./ before the xplain folder.
The preview looks good and also all data-urls:
After the click, lightbox opens the iframe and searches on the root of the domain:
Lightbox in local HTML export and CHM export works. Could this be a server configuration issue or is this maybe a known issue!?
Thanks, Markus
Lightbox loads ./xplain/*.html from root domain instead of relative path
Moderators: Alexander Halser, Tim Green
-
- Posts: 50
- Joined: Tue Apr 30, 2019 4:29 pm
Lightbox loads ./xplain/*.html from root domain instead of relative path
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 23181
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Lightbox loads ./xplain/*.html from root domain instead of relative path
Hi Markus,
I can't reproduce this behavior. Have you set anything unusual in your Xplain, for example any custom scripts or a redirect URL set in the Properties in the File menu?
I can't reproduce this behavior. Have you set anything unusual in your Xplain, for example any custom scripts or a redirect URL set in the Properties in the File menu?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 50
- Joined: Tue Apr 30, 2019 4:29 pm
Re: Lightbox loads ./xplain/*.html from root domain instead of relative path
Thanks for checking, Tim.
No custom scripts and no redirect URL. I will check for interfering web server configurations.
No custom scripts and no redirect URL. I will check for interfering web server configurations.
- Tim Green
- Site Admin
- Posts: 23181
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Lightbox loads ./xplain/*.html from root domain instead of relative path
Hi Markus,
Also, just to be sure, are you using the current versions of Help+Manual (8.1.0 Build 5536) and HelpXplain (1.3.0 Build 1290)?
Also, just to be sure, are you using the current versions of Help+Manual (8.1.0 Build 5536) and HelpXplain (1.3.0 Build 1290)?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 50
- Joined: Tue Apr 30, 2019 4:29 pm
Re: Lightbox loads ./xplain/*.html from root domain instead of relative path
Yes, latest versions.
- Alexander Halser
- EC-Software Support
- Posts: 4104
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
Re: Lightbox loads ./xplain/*.html from root domain instead of relative path
Hi Markus,
Is this Help+Manual 7 or Help+Manual 8? HM7 used a slightly different method to load Xplains.
Can you verify that these folders are in place at the server? If you forgot to upload the sub-folders, the Xplain will not load.
Is this Help+Manual 7 or Help+Manual 8? HM7 used a slightly different method to load Xplains.
The ./ refers to the current folder, which is the topic folder. The topic file, which hosts the Xplain, is located in www.our-domain.de/help/de/ and the Xplain is located in www.our-domain.de/help/de/xplain/dashboardtest.html. However, the media files of this Xplain are located in www.our-domain.de/help/de/xplain/dashboardtest/ (note that there is a sub-folder with the same name as the Xplain-HTML-file).I totally do not understand due to the ./ before the xplain folder
Can you verify that these folders are in place at the server? If you forgot to upload the sub-folders, the Xplain will not load.
Alexander Halser
Senior Software Architect, EC Software GmbH
Senior Software Architect, EC Software GmbH