I'd like to be able to load the URL and Title of a location to a weblink.

I've got javascript that WILL load the title but does not load the url.

Small job (I think)

$100 Paypal for a solution.

contact charles@wildfeed.com

Comments

Zlatko231’s picture

1)
You will need this Modul --> prepopulate

2)
<a href="javascript:location.href='http://www.yourdomain.com/node/add/weblink?edit[links_weblink_url]='+encodeURIComponent(location.href)+'&edit[title]='+encodeURIComponent(document.title)">Test 3</a>

links_weblink.module uses "ID=links_weblink_url" instead of ID=url

:-)

kulfi’s picture