Hi,

I've asked this on a couple of forums before but never seemed to get a result, even though I presume this is quite simple. I'd like to create a block that has code so people can use it to link to the specific page. For example, on youtube their is an embed field that peopl can simply copy and then past into their website. What I would like to do is similar but with a href html in the field instead.

Does anyone know how to do this using the current url and node title as the field inputs?

Thanks in advance for any help.

Comments

Anonymous’s picture

Have you tried the Link To Us module? You may be able to play around with it, try and get it to show in a block rather than a full page...

Otherwise, see if this site helps at all. Probably the easiest way is to create a block with some php to display the current URL in a textbox...

Jboo’s picture

Great, the second link is just what I want. Thanks BWPanda :-)

My new EasySnoozing, Nursing and BusinessEgghead websites on D7!