Hi, I want to use a bookmarklet that opens a window in node/add/bookmark with the url of the page where I clicked the bookmarklet in a url field I've created with cck.
So the bookmarklet opens something like this: http://example.net/node/add/bookmarket?url=http%3A//www.google.com/
Now I want to know if there's a way to modify the template of the node add page so I can populate the url field with that variable.
Is it possible?
On Jun 29, 2008, at 3:26 AM, Carlos Zuniga wrote:
Hi, I want to use a bookmarklet that opens a window in node/add/bookmark with the url of the page where I clicked the bookmarklet in a url field I've created with cck.
So the bookmarklet opens something like this: http://example.net/node/add/bookmarket?url=http%3A//www.google.com/
Now I want to know if there's a way to modify the template of the node add page so I can populate the url field with that variable.
Is it possible?
On Sun, Jun 29, 2008 at 11:29 AM, Brian Puccio brian@brianpuccio.net wrote:
On Jun 29, 2008, at 3:26 AM, Carlos Zuniga wrote:
Hi, I want to use a bookmarklet that opens a window in node/add/bookmark with the url of the page where I clicked the bookmarklet in a url field I've created with cck.
So the bookmarklet opens something like this: http://example.net/node/add/bookmarket?url=http%3A//www.google.com/
Now I want to know if there's a way to modify the template of the node add page so I can populate the url field with that variable.
Is it possible?
Great, thank you!
Exactly what I needed.