
Originally Posted by
DarkAngel
https://kattskritters.com/shop/ -- maintenance mode for now
Template: Winchester dark
ZC: 155.f
mods added: only ckeditor added
I tried adding the paypal verified sidebox, it installed just fine but when I activate the box in admin...the product pages disappear and the sidebox does not appear. I guess cause it is older than the hills and the code is too old for this version.
I then installed the editable side box that does not interfere with the store but the code is showing its php
how can I turn this into something for the box to show correctly on the store end
Code:
<div align="center"> <!-- Begin Official PayPal Seal -->
<p> <a target="_blank" href="'.MODULE_PAYPAL_SEAL_VERIFIED_URL . $paypalID . '">' . zen_image(DIR_WS_TEMPLATE_IMAGES . MODULE_PAYPAL_SEAL_LOGO_IMAGE_FILENAME, MODULE_PAYPAL_SEAL_ALT_TEXT, 100, 100) . '</a> <br/><br/>Safe and securely use your credit cards, with or without a paypal account<br/><br/><img src="https://kattskritters.com/store/images/ppal-logo.gif">
<!-- End Official PayPal Seal --> </p></div>
Right now I have turned off the box, until its clothes are put on properly.
Be sure your code has closing DIV or not more then needed. Assuming the side box code is correctly laid out, the code you displayed is not. all code used for display in the user template/sideboxes folder should be wiped in content lines.
Code:
$content = '';
$content .= '<div align="center"> <!-- Begin Official PayPal Seal -->';
$content .= '<p> <a target="_blank" href="'.MODULE_PAYPAL_SEAL_VERIFIED_URL . $paypalID . '">' . zen_image(DIR_WS_TEMPLATE_IMAGES . MODULE_PAYPAL_SEAL_LOGO_IMAGE_FILENAME, MODULE_PAYPAL_SEAL_ALT_TEXT, 100, 100) . '</a> <br/><br/>Safe and securely use your credit cards, with or without a paypal account<br/><br/><img src="https://kattskritters.com/store/images/ppal-logo.gif">';
$content .= '<!-- End Official PayPal Seal --> </p></div>';
Bookmarks