View Single Post
  #5  
Old 06-03-2010, 02:46 PM
 
TheWrongGrape TheWrongGrape is offline
 

Advanced Member
  
Join Date: Nov 2002
Location: Los Angeles, CA
Posts: 68
 

Default Re: How to get public wishlist id without sending an email?

Glad you figured it out. I am using X-Cart for a site that doesn't really sell anything - I link to a lot of affiliate products and the "Wish List" feature is for my users to save a list of their favorite items for later browsing or to share with friends. Along with having the public URL visible, I also have a Post to MySpace and Post to Facebook buttons next to it:

Code:
<!-- ### BEGIN MYSPACE ### --> <form id="myspacepostto" method="post" action="http://www.myspace.com/index.cfm?fuseaction=postto" target="_blank" style="display: inline; padding: 0; margin: 0;"> <input type="hidden" name="t" value="REPLACE WITH TITLE OF LINK AKA My Wishlist at Fake Store" /> <input type="hidden" name="c" value="REPACE WITH DESCRIPTION AKA Just a few of my favorite items at Fake Store" /> <input type="hidden" name="u" value="{$http_location}OR{$https_location}/cart.php?mode=friend_wl&wlid={php} $wishlistid = $this->_tpl_vars[login]; echo md5($wishlistid); {/php}" /> <input type="hidden" name="l" value="3" /> <a style="cursor: pointer;" onclick="document.getElementById('myspacepostto').submit();" title="Share on MySpace"> <img src="LINK TO YOUR MYSPACE ICON" alt="MySpace" /></a></form>&nbsp; <!-- ### BEGIN FACEBOOK ### --> <a href="http://www.facebook.com/sharer.php?u={$http_location}OR{$https_location}/cart.php?mode=friend_wl&wlid={php} $wishlistid = $this->_tpl_vars[login]; echo md5($wishlistid); {/php}&t=REPLACE WITH A TITLE" target="_blank" title="Share on Facebook"> <img src="LINK TO YOUR FACEBOOK ICON" alt="Facebook" /></a>
Reply With Quote