By B B Kristopher on
Okay, this may sound like a strange question, but is there any way to embed one node inside another? For instance, I'd like to have a page where I could have some static content, but where I could also embed a taxonamy view below the static content for that page. I'm willing to install a module if that's what it takes. Can anyone help me with this?
Comments
There are lots of ways to do
There are lots of ways to do this- if it's on a limited basis, you can just put the PHP code in your pages. See the snippets section: http://drupal.org/handbook/customization/php-snippets
---
Work: BioRAFT
This works,
at least it does in 4.6.
Replace the 1 with the nid you want.
I found this on http://www.nicklewis.org/ but it is gone from there now.
unfiltered output
This isn't quite right- if you're going to print the node body directly it's important to filter it based on the filter settings to avoid outputting malicious code.
---
Work: BioRAFT
Another way is the "insert
Another way is the "insert view" module (http://drupal.org/project/insert_view)
Of course it requires the "views" module (http://drupal.org/project/views) to create the views which you are going to insert,
Or the "insert block" module (http://drupal.org/project/block_tags).
Views module
Could I use the Views module to create a page in which the top part was an editable field where I could put up news or other things, and the bottom part was Events.
What I would like to do is have the Events as it is, but with a space above to post notices and other things.
What's the best way to accomplish that?
Worked perfectly
This worked perfectly, thanks
B. B. Kristopher
http://www.bbkristopher.com
I Thought that the panels
I Thought that the panels plugin allows you to do this
try viewfield module for CCK
viewfield allows you to embed a view into a CCK node.
former username: lx_barth