Has anyone managed to install this mod as I realy need this to work for me.
I've had a look at the files and they seem some what different from the MS2-MAX 1.5.5
Can anyone help as I'm not sure where to start.
This is a discussion on Wishlist-2.0.1 within the osCMax v1.7 General Mods Discussion forums, part of the osCmax v1.7 Forums category; Has anyone managed to install this mod as I realy need this to work for me. I've had a look ...
Has anyone managed to install this mod as I realy need this to work for me.
I've had a look at the files and they seem some what different from the MS2-MAX 1.5.5
Can anyone help as I'm not sure where to start.
Good question, I have planned to install this contrib just after I finish a few things on the task I am presently working on.
*BUMP*
As far as I can see the only files I need to change are application_top and
product_info the other files are just new files I add.
application_top seems straight forward to change but the wish list product_ info is huge against the oscdox one.
I have managed to install the Wishlist 2.0.1 and everything works except the email. I can see no sign of that or how to call it.
Can anyone help?
Open wishlist.php inside the catalog/includes/languages/english directory and add the following line:
Open wishlist.php inside the catalog/includes/modules/wishlist directory and look for lines 58-60:Code:define('BOX_TEXT_SEND', 'Send to a friend');
and replace it with the following lines:Code://rs $customer_wishlist_string .= '<tr><td colspan="3" align="right" class="smallText"><a href="' . tep_href_link(FILENAME_WISHLIST, '','NONSSL') . '"><u>' . BOX_TEXT_VIEW . '</u> [+]</a></td></tr>' . "\n"; // $customer_wishlist_string .= '<tr><td colspan="3" align="right" class="smallText"><a href="javascript:popupWindowWishlist(\'' . tep_href_link('popup_' . FILENAME_WISHLIST_HELP, '','NONSSL') . '\')"><u>'. BOX_HEADING_CUSTOMER_WISHLIST . ' Help</u> [?]</a></td></tr>' . "\n"; // Popup link //rs $customer_wishlist_string .= '<tr><td colspan="3" align="right" class="smallText"><a href="' . tep_href_link(FILENAME_WISHLIST_HELP, '','NONSSL') . '"><u>' . BOX_TEXT_HELP . '</u> [?]</a></td></tr>' . "\n"; // Normal link
You will now have a Send to a friend link inside your My Wishlist infobox.Code:$customer_wishlist_string .= '<tr><td colspan="3" align="center" class="smallText"><a href="' . tep_href_link(FILENAME_WISHLIST, '','NONSSL') . '">' . BOX_TEXT_VIEW . '</a> | ' . "\n"; $customer_wishlist_string .= '<a href="' . tep_href_link(FILENAME_WISHLIST_HELP, '','NONSSL') . '">' . BOX_TEXT_HELP . '</a><br>' . "\n"; $customer_wishlist_string .= '<a href="' . tep_href_link(FILENAME_WISHLIST_SEND, '','NONSSL') . '">' . BOX_TEXT_SEND . '</a></td></tr>' . "\n"; // Normal link
Open wishlist_email.php and edit line 45:
like this:Code:$wishliststring .= $resultarray[1]."\n" . HTTP_SERVER ."/product_info.php/products_id/".$resultarray[0] . "\n\n";
This will correct the links to the products that will be sent to your friend via email.Code:$wishliststring .= $resultarray[1]."\n" . HTTP_SERVER ."/product_info.php?products_id=".$resultarray[0] . "\n\n";
To display the "Send your wishlist to a friend" input box in the main wish list page, open wishlist.php in the /catalog directory and do the following:
a. cut lines 133-135
b. and move them below this line (#162):Code:<?php if ($wishlist_numrows > 0 && (PREV_NEXT_BAR_LOCATION == '2' || PREV_NEXT_BAR_LOCATION == '3')) { ?>
c. add </form> on top of <!-- tell_a_friend_eof //-->Code:<!-- tell_a_friend_eof //-->
To store owners who want to add the wish list feature in their site, I have written the installation instructions specifically for MS2-MAX 1.5.5 using Wishlist 2.0.1
Thanks Guys. I thought nobody was interested so I managed to work things out for myself. This has helped me check things and will be of use to others.![]()
If the links in your email do not work, "Ref: Mavericks post on Jan 30" try this.
$wishliststring .= $resultarray[1]."\n" . HTTP_SERVER . DIR_WS_CATALOG ."product_info.php?products_id=" . $resultarray[0] . "\n\n";
It worked for me.
Bookmarks