Floob Posted October 21, 2002 Posted October 21, 2002 On my site the notification part isnt working right. I get Notify me of updates to Instead of Notify me of updates to "Product Name" For an example: http://www.ketta.com/catalog/product_info....?products_id=55 Thanks for any help. Floob.
burt Posted October 21, 2002 Posted October 21, 2002 On my site the notification part isnt working right. Make sure the code in the infobox is correct: if ($check['count'] > 0) { $info_box_contents[] = array('align' => 'left', 'text' => '<table border="0" cellspacing="0" cellpadding="2"><tr><td class="infoBoxContents"><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=notify_remove', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'box_products_notifications_remove.gif', IMAGE_BUTTON_REMOVE_NOTIFICATIONS) . '</a></td><td class="infoBoxContents"><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=notify_remove', 'NONSSL') . '">' . sprintf(BOX_NOTIFICATIONS_NOTIFY_REMOVE, tep_get_products_name($HTTP_GET_VARS['products_id'])) .'</a></td></tr></table>'); } else { $info_box_contents[] = array('align' => 'left', 'text' => '<table border="0" cellspacing="0" cellpadding="2"><tr><td class="infoBoxContents"><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=notify', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'box_products_notifications.gif', IMAGE_BUTTON_NOTIFICATIONS) . '</a></td><td class="infoBoxContents"><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=notify', 'NONSSL') . '">' . sprintf(BOX_NOTIFICATIONS_NOTIFY, tep_get_products_name($HTTP_GET_VARS['products_id'])) .'</a></td></tr></table>'); } Post back if it doesn't look like that somewhat. includes/boxes/product_notifications.php
Ajeh Posted October 21, 2002 Posted October 21, 2002 Which column is your notification box in and how old is your snapshot? If in the left column, there was a fix for that. If in the right column, then it's something else :shock:
Floob Posted October 21, 2002 Author Posted October 21, 2002 My snapshot was from early July 2002. The box is in the left column, but I may have moved it there - I cant remember - where is default? Where is the fix for the left column? burt: I will post my code when I get home in a minute. Thanks a lot for your help!
Ajeh Posted October 21, 2002 Posted October 21, 2002 That is why it is broken. Somewhere between July and August it was fixed for when it was moved to the left column so the product name would show :D Mind like a steel trap ...
Mark Evans Posted October 21, 2002 Posted October 21, 2002 That is why it is broken. Somewhere between July and August it was fixed for when it was moved to the left column so the product name would show :D Yep you can see the fix here http://cvs.sourceforge.net/cgi-bin/viewcvs...f?r1=1.3&r2=1.4 Although the easier way is to download the latest snapshot and replace your copy of catalog/includes/boxes/product_notifications.php with the one from the latest snapshot. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
Floob Posted October 21, 2002 Author Posted October 21, 2002 Cheers for the responses. I replaced the file form the latest snapshot - it worked - but the font went massive. So I'll look at the fix now - and hope it isnt too complicated. Cheers, Floob.
Floob Posted October 21, 2002 Author Posted October 21, 2002 Nope - that went massive as well. So the problem is fixed, but the font used goes way bigger than normal. Anyone know why?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.