PDA

View Full Version : Dynamic fetching of current URL - how to do it?



lisali
10-24-2009, 07:28 PM
Hi there,

I am trying to add "add to ThisNext" (social shopping service) button to a couple of products pages, by inserting it into the template. Other services fetch the URL dynamically, but with ThisNext it's static:


------------------------------------------
Link Format




http://www.thisnext.com/pick/new/submit/button/?[parameters]

so it would look like:

http://www.thisnext.com/pick/new/submit/button/?url=http%3A%2F%2Fexample.com%2Fproduct.html





------------------------------------------

http://www.thisnext.com/help/recommend-button/


Is there a way to at least make the URL dynamic, ie fetch the current URL and submit that?

Many thanks!