You are here:  » Mods: Add to Shopping List, Tell a friend, Bookmark, RSS ...

Support Forum



Mods: Add to Shopping List, Tell a friend, Bookmark, RSS ...

Submitted by pikibou on Thu, 2007-08-16 15:44 in

Hi all and thanks for this great script.

I'm looking for mods that I've seen on some of your websites but I can't find them in the forum.

So if you could help and tell me what to do / download ... that would be great cause I am a total newbie in scripts and php.

Add to shopping list:
--> I saw it on www.affolable.com -
It's a wonderful mod: user can register and add products to it's shopping list / delete products /...

Tell a friend:
--> I saw it everywhere but don't know what to use

Bookmark this page
--> must not be so difficult

Rss
--> really interresting

And also all the Links to Digg / Delicious / ...
--> Like here http://pricecompare.gynogapod.co.uk/product/Abstract-etched-silver-gold-ring.html

If you could help that would be wonderful,

Thanks

Piki

Submitted by dbfcs on Fri, 2007-08-17 20:23

RSS Mod

"Add to shopping list" sounds like a custom mod. You'll need a developer to get this sorted.

"Tell a friend" is an external script. Visit HotScripts and search for a PHP tell a friend script. They've got loads, many of which are free to use.

Bookmark this page is an external script. Search Google for various takes on it.

All of the above (apart from the RSS mod) simply plug into your Price Tapestry code in the html folder.

Submitted by crounauer on Fri, 2007-08-24 13:14

Hi,

Here is the info to implement the "bookmark" mod...

add this to includes/tapestry.php

<?php
  
// to display current url Location use curPageURL()
  
function curPageURL() {
   
$pageURL 'http';
   
$pageURL .= "://";
   if (
$_SERVER["SERVER_PORT"] != "80") {
    
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
   } else {
   
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
   }
   return 
$pageURL;
  }
?>

then on the main product page html/product.php, add this. This particular example is for "Delicious".

<a href="http://del.icio.us/post?url=<?php echo curPageURL() ?>&amp;title=<?php print urlencode($mainProduct["name"]); ?>">Del.icio.us</a>

Hope this helps.

Simon

Computer Hardware