Plugin Author
Baden
(@baden03)
are you able to assign custom classes and attributes to the buttons?
yes we can assign custom classes.
Hi Baden, i have the same problem here. I do this http://spacedonkey.de/1019/wonky-submit-print-o-matic-button/ but doesnt work, just show empty page. Any idea? Thanks
Plugin Author
Baden
(@baden03)
yes. either downgrade to version to version 1.5.7 or upgrade to print-pro-matic
ok I reverted to 1.5.7 version and added both printomatic class and subprint ID to the button shortcode
[button new_tab="no" icon_position="left" special_style="no" border_radius="0" three_d="no" size="small" color="green-sea" title="Step 1: Print Your Planner" icon="icon-print" class="printomatic" id="subprint"]
<input id="target-subprint" type="hidden" value="#main-content" />
then I added the Hidden Input afterwards with target id and value of #main-content. When I click on the print button, the new print page pops up but it is blank. The ‘Shortcode Loads Scripts’ checkbox is NOT checked.
any ideas? thanks
Plugin Author
Baden
(@baden03)
sounds like the plugins is working, it’s just having trouble finding your taraget content. Can you share a link to the page you have this setup on?
Plugin Author
Baden
(@baden03)
OK the issue is that both the id and the class need to be assigned to the same element:
Bad:
<div class="printomatic">
<a href="" class="hb-button hb-green-sea hb-small-button no-three-d" target="_self" style="-webkit-border-radius: 0px;-moz-border-radius: 0px;border-radius: 0px;" id="subprint">
<i class="icon-print"></i>
Step 1: Print Your Planner
</a>
</div>
<input id="target-subprint" type="hidden" value="#main-content">
Good:
<div id="subprint" class="printomatic">
<a href="" class="hb-button hb-green-sea hb-small-button no-three-d" target="_self" style="-webkit-border-radius: 0px;-moz-border-radius: 0px;border-radius: 0px;">
<i class="icon-print"></i>
Step 1: Print Your Planner
</a>
</div>
<input id="target-subprint" type="hidden" value="#main-content">
ok, the ID is added to the same DIV element as class=”printomatic”.
<div id="subprint" class="printomatic"><a href="" class="hb-button hb-green-sea hb-small-button no-three-d" target="_self" style="-webkit-border-radius: 0px;-moz-border-radius: 0px;border-radius: 0px;">
<i class="icon-print"></i>Step 1: Print Your Planner</a></div>
<br />
<input id="target-subprint" type="hidden" value="#main-content" /></p>
Still no joy. 🙁
Plugin Author
Baden
(@baden03)
@gleatherman: it could be there is an issue with the minus (-) in your target element’s name, it’s hard to say, as it’s an older version of Print-pro-matic. Tell you what, hit us up at info [at] twinpictures [dot] de with a link to this thread. If you like, we’ll pop on your site real quick and see if it’s IS possible to integrate 1.5.7 in this way. We’ll do our best to bring the joy back.