How Do I Post Pages (nodes) to a Block
techgy - October 29, 2008 - 02:30
I'm running a Drupal 6.6 site and I've created a new block.
How do I assign nodes to the new block?
When I click on the pull down on the node to assign where the page should go the new block doesn't appear as a choice.
The block itself IS showing on the left panel.
What am I missing?

=-=
assign nodes to a new block ?
to do what create a list ? (if yes, see views.module)
you can't assign nodes to blocks on node/add
I'm not creating a list.
I'm not creating a list. What I have is another block that's been created and appears on the left side of a Drupal 6.6 site.
The block is empty - no menu, etc.
I'm trying to assign a node so that it appears in this new block.
I've tried to create a new menu and assign it to the block, but that doesn't work either.
It would appear to me that making a new block is pretty useless as nothing can be put into it.
blocks already exist for menus
per my post below, teaser block will take care of 'per node' blocks - that sounds like what you're looking for...it's very easy, feel free to post a question if you get stuck on it...
as for 'adding blocks' - that's for anything! you could build a layout with blocks and not panels depending on your theme or goals (using views, regular blocks, whatever)
but when you click 'add block' in drupal, you aren't actually adding anything other than an empty block that can be placed somewhere - you have to make it do something ...for example, check out the code snippets for blocks in the handbook, or try something simple:
go to googlemaps, or youtube, click any video or map and copy the embed code - but try to make it sorta small
now go to your site, go to admin/modules and make sure that 'php' is enabled as an input filter option for admin (just for admin)
now go to blocks/add block
give it a title if you want
paste the embed code from youtube or google maps
select 'full html' or php (depending on what your full html does, or php which seems to take it all)
now put the block in the footer or something and go look at it - you've just created a block that has a map/video in it...
many people use blocks for adsense ads, images, views, etc...it's a foundation element of drupal
........................................................................
i love to waste time: http://twitter.com/passingnotes
Zilla, Thanks. I already
Zilla,
Thanks. I already have the block defined and content in the Body of the block.
What I'm trying to do is move a node from the navigation block to this new block.
I've done it on another Drupal site, but for the life of me I don't recall how.
When I edit the node that I want to move the new block doesn't appear as a choice to where I can move it.
the menu nav block?
you can just put the relative path in a list tag in an empty block couldn't you? like under main menu is create content > add story and so in yoru new block you create an unordered list and one item is a link to path /node/add/story
another option is cloning the block (multiblock is what i think it is now on d6), literally create another instance of the block and then edit and control display for each accordingly (remove from one, show in the other, show one block on one page, the other on another, etc)
........................................................................
i love to waste time: http://twitter.com/passingnotes
Some options
It sounds like you want to have a list of node titles in a block? If so, the easiest option is to use a menu in a block. But you have to go to the Menu admin page and add a new menu first. Then go to the Blocks admin page, and assign that new menu to the region of your choice. Now when you edit any node, you can select your new menu from the dropdown list in the menu settings, and the node title will appear in the new menu/block.
But that will only give you a simple list of (linked) node titles in the block. If you want more options, such as a list of teasers or even a full node in the block, Views is a brilliantly flexible solution. But again, you need to create the block within Views first, then go to the Blocks admin page and assign that new block to a region.
However, if you don't plan to use Views and want text rather than a list of nodes in the block, a simpler option might be the Node Blocks module.
Nodes to a Block
Bingo!
You just won the no prize bell! Thanks.
Like I said, I'd done this before but it had been a while.
I was building the new block first then trying to assign nodes to it.
Your suggestion was exactly what I was looking for. All I need to do now is not forget it.
Thanks Glennr
I suspected that was the problem
. . . only because this is sort thing I'd do :-)
views or teaser block...
views will do this - put a list of titles of some content type in a block for you, etc...
or you could check out the 'teaser block' module if it's just for one node at a time - you enable the ability to turn any node into a teaser block within the 'content type' settings (way at bottom it says, 'enable teaser block' and then you go to blocks and click to add a 'teaser block' and up pops a list of ALL nodes of that content type - but again, it's only one at a time, but it will throw in the teaser/title (you can customize what it actually says) with a read more link to the node [you could do this yourself manually as well, but some people like to have it created like this)
........................................................................
i love to waste time: http://twitter.com/passingnotes