Print using Menu Button
Last updated
Last updated
The print link by default in Knack is currently set to the right side as a link. For new users, they might not be familiar with where to print the page so having it as a menu button would assist in visibility.
Below is an example of what this code will do to a static menu view:
Add the following code and modify line 12 to the view number.
Keep in mind that whatever view you set will apply the window.print()
action on click, so keep the print menu button the only button in the menu view.
None currently since Menu views on Knack are automatically hidden in print preview.
Add View > Static Menu > Link to a URL
Set URL to javascript:void(0);
Remember the view number (from the URL) and modify the JS code to that view number.