Printing from Responsive Skins
Moderators: Alexander Halser, Tim Green
- Sheri Steeves
- Posts: 146
- Joined: Tue Aug 05, 2008 5:06 pm
- Location: Ottawa, Ontario,CANADA
- Contact:
Printing from Responsive Skins
Hello,
Just updated to H&M 7 today and was playing with the responsive skins.
We were previously using one of the premium skins, WebHelp_SlateGrey.hmskin with options for mail Feedback and Printing the topic.
I have tested publishing our help using the skins 'HM7-Help-Webhelp-Responsive', 'Webhelp, iFrames Responsive, Grey' and 'Webhelp, iFrames Responsive, White-Grey' and have noticed that from Chrome you cannot print the topics from these skins - at least not using Ctrl+P.
The print dialog comes up but all that shows is a single page (with the header if Print background and images is selected) and no text. I was able to print a topic using Ctrl+P through IE11.
Is there a way to add a print option to the new skins? What about e-mail feedback?
Playing around a bit further, I was able to print the topic if I clicked in the topic section, did Ctrl+A and then did Ctrl+P.
Thanks,
Sheri
Just updated to H&M 7 today and was playing with the responsive skins.
We were previously using one of the premium skins, WebHelp_SlateGrey.hmskin with options for mail Feedback and Printing the topic.
I have tested publishing our help using the skins 'HM7-Help-Webhelp-Responsive', 'Webhelp, iFrames Responsive, Grey' and 'Webhelp, iFrames Responsive, White-Grey' and have noticed that from Chrome you cannot print the topics from these skins - at least not using Ctrl+P.
The print dialog comes up but all that shows is a single page (with the header if Print background and images is selected) and no text. I was able to print a topic using Ctrl+P through IE11.
Is there a way to add a print option to the new skins? What about e-mail feedback?
Playing around a bit further, I was able to print the topic if I clicked in the topic section, did Ctrl+A and then did Ctrl+P.
Thanks,
Sheri
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 23183
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Printing from Responsive Skins
Hi Sheri,
These new standard skins don't currently have a print feature, sorry. That needs to be added in a future update...
These new standard skins don't currently have a print feature, sorry. That needs to be added in a future update...
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.
- Sheri Steeves
- Posts: 146
- Joined: Tue Aug 05, 2008 5:06 pm
- Location: Ottawa, Ontario,CANADA
- Contact:
Re: Printing from Responsive Skins
Tim,
Thanks for the response; I know H&M 7 was just released but is there any timeline on adding the printing feature??
Great job on the responsive skins!
Sheri
Thanks for the response; I know H&M 7 was just released but is there any timeline on adding the printing feature??
Great job on the responsive skins!
Sheri
- Tim Green
- Site Admin
- Posts: 23183
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Printing from Responsive Skins
Hi Sheri,
We have a lot on our plates at the moment -- may take a couple of weeks...
We have a lot on our plates at the moment -- may take a couple of weeks...
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.
- Darren Rose
- Posts: 204
- Joined: Sat Mar 03, 2012 3:01 pm
Re: Printing from Responsive Skins
+1 for adding printing support!!
- Tim Green
- Site Admin
- Posts: 23183
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Printing from Responsive Skins
Update: The new standard responsive skins are currently being edited to make them work better on very small screens. More coming -- watch this space. And have a nice weekend...
38°C in my office at the moment...
38°C in my office at the moment...
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.
- Darren Rose
- Posts: 204
- Joined: Sat Mar 03, 2012 3:01 pm
Re: Printing from Responsive Skins
I appreciate you are busy - but any update on adding printing support to the responsive skins included in HM7??
- Tim Green
- Site Admin
- Posts: 23183
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Printing from Responsive Skins
Hi Darren,
Please contact Alexander directly for information on this -- I'm not up to date on his work on those skins at the moment.
Please contact Alexander directly for information on this -- I'm not up to date on his work on those skins at the moment.
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.
- Darren Rose
- Posts: 204
- Joined: Sat Mar 03, 2012 3:01 pm
Re: Printing from Responsive Skins
Okay thanks Tim - I posted on here rather than emailing you direct as I assumed he would reply
- Darren Rose
- Posts: 204
- Joined: Sat Mar 03, 2012 3:01 pm
Re: Printing from Responsive Skins
also can you add a text variable to change initial width of the TOC panel?
- Darren Rose
- Posts: 204
- Joined: Sat Mar 03, 2012 3:01 pm
Re: Printing from Responsive Skins
This can be changed in the skin by going to Configuration > Publishing Options > Webhelp > Layout and changing the left: 30%; under #hmcontentboxDarren Rose wrote:also can you add a text variable to change initial width of the TOC panel?
- Darren Rose
- Posts: 204
- Joined: Sat Mar 03, 2012 3:01 pm
Re: Printing from Responsive Skins
As suggested via email from Alexander - you can add the below line under Configuration > HTML Page Templates > Default - add it underneath the line that says <IF_NEXT_PAGE>Darren Rose wrote:I appreciate you are busy - but any update on adding printing support to the responsive skins included in HM7??
<a href="javascript:window.print()">Print</a>
Issues with this method:-
1) If you have a page containing toggles then it doesn't expand them before printing so you just get a printout of the toggle titles and nothing else
2) shows print button just as the word PRINT rather than a nice icon - so doesn't look very professional as ruins the nice layout of icons etc - this is being addressed in next skin update apparently
3) Strange text at top of page when printed - see screenshot below
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 23183
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Printing from Responsive Skins
Hi Darren,
Change the print link to this:
No idea where that variable is coming from. I would need to have a look at your skin and a test project -- you can mail them to me if you like.
Change the print link to this:
Code: Select all
<a href="javascript:<IF_TOGGLES> HMToggleExpandAll(true);</IF_TOGGLES> print();">
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.
- Darren Rose
- Posts: 204
- Joined: Sat Mar 03, 2012 3:01 pm
Re: Printing from Responsive Skins
Hi Tim
Even with a new project and using a fresh copy of Webhelp, iFrames Responsive, Blue.hmskin I still get that variable showing on print output - so problem must be with H&M or the skin rather than my project
Amended code so it shows the "Print" button/link
This still doesn't work for me - yes it opens the toggles but the printout still doesn't show content of toggles just headings
If I open the toggles manually using icon and then print - it works okay
Also print output shows title of page twice? and shows the print button text as well
Even with a new project and using a fresh copy of Webhelp, iFrames Responsive, Blue.hmskin I still get that variable showing on print output - so problem must be with H&M or the skin rather than my project
Amended code so it shows the "Print" button/link
Code: Select all
<a href="javascript:<IF_TOGGLES> HMToggleExpandAll(true);</IF_TOGGLES> print();">Print</a>
If I open the toggles manually using icon and then print - it works okay
Also print output shows title of page twice? and shows the print button text as well
- Darren Rose
- Posts: 204
- Joined: Sat Mar 03, 2012 3:01 pm
Re: Printing from Responsive Skins
P.S. The variable showing up in printing is caused by a typo in the skin
The correct variable name is SKIN-STRTRANS-SYNCTOC i.e. with the C
In HTML PAGE DEFAULTS > Default it doesn't have the C - as below
<td class="topichead" style="text-align:left; vertical-align:bottom">
<IF_HTML><p class="sync-toc"><< <a rel="nofollow" href="<%HREF_TOP_PAGE%>?<%HREF_CURRENT_PAGE%>" target="_top"><%SKIN-STRTRANS-SYNTOC%></a> >></p></IF_HTML>
<p class="crumbs"><b><%SKIN-STRTRANS-BREADCRUMBS-TITLE%></b>
<IFNOT_TOPIC_BREADCRUMBS>»<%SKIN-STRTRANS-BREADCRUMBS-NONE%>«</IFNOT_TOPIC_BREADCRUMBS>
<IF_TOPIC_BREADCRUMBS><%TOPIC_BREADCRUMBS%> ></IF_TOPIC_BREADCRUMBS></p>
<%TOPIC_HEADER%>
</td>
When correct you now don't see the wrong variable on prints but it does show << Click to Display Table of Contents >> on the print instead - so still not perfect as don't really want to see that, duplicated titles or the word PRINT on the printout - see image below
The correct variable name is SKIN-STRTRANS-SYNCTOC i.e. with the C
In HTML PAGE DEFAULTS > Default it doesn't have the C - as below
<td class="topichead" style="text-align:left; vertical-align:bottom">
<IF_HTML><p class="sync-toc"><< <a rel="nofollow" href="<%HREF_TOP_PAGE%>?<%HREF_CURRENT_PAGE%>" target="_top"><%SKIN-STRTRANS-SYNTOC%></a> >></p></IF_HTML>
<p class="crumbs"><b><%SKIN-STRTRANS-BREADCRUMBS-TITLE%></b>
<IFNOT_TOPIC_BREADCRUMBS>»<%SKIN-STRTRANS-BREADCRUMBS-NONE%>«</IFNOT_TOPIC_BREADCRUMBS>
<IF_TOPIC_BREADCRUMBS><%TOPIC_BREADCRUMBS%> ></IF_TOPIC_BREADCRUMBS></p>
<%TOPIC_HEADER%>
</td>
When correct you now don't see the wrong variable on prints but it does show << Click to Display Table of Contents >> on the print instead - so still not perfect as don't really want to see that, duplicated titles or the word PRINT on the printout - see image below
You do not have the required permissions to view the files attached to this post.