Skip to main content
Yesterday, I was working on a new requirement on a website I'm currently working on and the idea of it is make Drupal provide a Widget so anyone can copy/paste a single piece of HTML code inside a iframe and embedded that code anywhere, so providing ans iframe is not a big deal but of course the iframe will display inside it whatever comes from the source url you set for it, example:

<iframe frameborder="0" height="480" src="http://www.mysite.com/widget/"; target="_blank" align="center" width="360" scrolling="Auto"; bgcolor="#C9D3DE"> </iframe>

In this case "src" retrieves…
Read more
Node referencing has been a great concept when working with Drupal content, it helps create complex references between nodes and it has been widely used, for example when you create a Photo Gallery. Having a Photo Gallery is pretty easy in Drupal, you need a content-type that will handle the information of an album or gallery and another content-type that will handle the images information. Using Node References will attach those images to your Albums. How? using this module in Drupal 7:

References

Of course, by default you won't have a nice way to identify which of the referenced nodes…
Read more
Sunday, April 10, 2011