Hi Clyde,
On the product info module across, the review, tell a friend, ask a question buttons do not show.
I also tried to move the "product date added" line below the qty discount and it does not show up.
The lines have not been commented out on tpl_product_info_display.php so I'm wondering where it went? Am I doing something wrong?
Thanks!
Hi Clyde,
Yes these are all enabled. I did a series of disabling the files used for this module and it seems that something on the tpl_product_info_display.php is breaking the code. If I disable this and use the original tpl_product_info_display.php, all the buttons show up.
I noticed that on your demosite using this module and template, you also do not show the buttons review and tell a friend, has this been disabled in yours?
Hi Clyde,
No there are no error messages. The buttons just don't show up.
On other things, I'm trying to integrate COWOA into the template. On another site I was able to enter the COWOA code into tpl_login_default with the split login screen false section. On the cold steel template I was doing the same thing but for some reason the COWOA login does not show up on the login page.
These are what I did:
On login.css added:
.cowoa {
margin: 0 auto;
padding: 0;
width: 50%;
}
On tpl_login_default.php added just after the BOF normal login code:
<!--bof cowoa-->
<div class="cowoa">
<?php
if ($_SESSION['cart']->count_contents() > 0) { ?>
<br class="clearBoth" />
<hr id="catBoxDivider" />
<br class="clearBoth" />
<fieldset class="main">
<legend><?php echo TEXT_RATHER_COWOA; ?></legend>
<div class="buttonRow forward">
<?php echo "<a href=\"" . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . "\">"; ?>
<?php echo zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT); ?></a></div>
<?php } ?>
</fieldset>
</form>
</div>
<!--eof cowoa-->
I'm not sure if I am missing anything but when I tried copying and pasting it on the split login true screen, it also does not show up. Any ideas?
Hi Clyde,
Need your help again! On your test site using the cold steel template, you have a Donate Via Paypal button right below the search box on the header.
I'd like to do something similar except it will be a different image. How do I go about adding this?
Thanks for your help!
It will depend on how the "button" is implemented.
Mine is Java script based.
You'll need to add a declaration for the required div in the stylesheet.css.
.donate {
position: absolute;
top: 35px;
right: 0;
}
You'll also need to edit includes/templates/cold_steel/common/tpl_header.php
find the following section of code and add the highlighted portion:
Code:<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div> <div class="donate">The code for your donate button</div> <div class="date"><?php echo strftime(DATE_FORMAT_LONG);?></div>
Hi Clyde,
Many thanks! It is just an image I put up there but your how-to worked out just fine!
Bookmarks