Hi all,
I have the following help structure:
- Static HTML root page with links to multiple Web helps
– Web help a
– Web help b
– Web help c
What I want to achieve is a breadcrumb with a leading "external" link to the static HTML root page followed by a link to the start page of the last current web help and then followed by the default breadcrumb.
Read framed strings are added manually. Added in HTML template and in hm_webhelp.js.
The link to the startpage of the current web help works as expected. I added a class topicnavlink to the "Web help a" link.
The link to the root HTML page is always tried to be opened as topic.
It is generally a link like: <a href="./../../de/index.php"><img src="./images/home.png"></a>
I added a class "weblink" or a target parameter without success.
I always get the message "FEHLER. Kapitel nicht gefunden. index.php" as the web help tries to load the json topic file.
Is there a way to mark this link as "external" to not trigger the dynamic "load topic" functionality?
I am using Premium Pack 4.3.
Thanks,
Markus
Add external link to breadcrumb
Moderators: Alexander Halser, Tim Green
-
- Posts: 50
- Joined: Tue Apr 30, 2019 4:29 pm
Add external link to breadcrumb
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: Add external link to breadcrumb
Hi Markus,
Instead of using a relative path, enter an absolute path starting with http:// or https://, along with the weblink class. Then it should be identified as an external link and should work. If you continue to have problems with this, contact me directly at support AT ec-software.com (replace the AT with @) and we'll work something out.
Instead of using a relative path, enter an absolute path starting with http:// or https://, along with the weblink class. Then it should be identified as an external link and should work. If you continue to have problems with this, contact me directly at support AT ec-software.com (replace the AT with @) and we'll work something out.
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.
- Tim Green
- Site Admin
- Posts: 23181
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Add external link to breadcrumb
PS: Don't forget to include target="_blank" in your <a> link as well as class="weblink".
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: Add external link to breadcrumb
Thanks for your reply, Tim. The help still tried to open it as topic.
I solved it now in this way: a leave the p#topic_breadcrumbs as is, just took the <%BREAD_LABEL%> out of this paragraph.
I added a new paragraph before p#topic_breadcrumbs that contains <%BREAD_LABEL%> and my link and set both paragraphs to display: inline-block; so they are shown on the same line.
I solved it now in this way: a leave the p#topic_breadcrumbs as is, just took the <%BREAD_LABEL%> out of this paragraph.
I added a new paragraph before p#topic_breadcrumbs that contains <%BREAD_LABEL%> and my link and set both paragraphs to display: inline-block; so they are shown on the same line.
- Tim Green
- Site Admin
- Posts: 23181
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Add external link to breadcrumb
markusflow wrote: ↑Wed Sep 08, 2021 9:59 am Thanks for your reply, Tim. The help still tried to open it as topic.
I wasn't sure where exactly you were putting your link, but I was afraid of that. The problem is that the p#topic_breadcrumbs paragraph is the identifier, and all links inside that are assumed to be topic links, because the breadcrumbs always are.
Excellent.I solved it now in this way: a leave the p#topic_breadcrumbs as is, just took the <%BREAD_LABEL%> out of this paragraph.
I added a new paragraph before p#topic_breadcrumbs that contains <%BREAD_LABEL%> and my link and set both paragraphs to display: inline-block; so they are shown on the same line.
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.