Hi,

I want to put similar entries in node instead of putting in sidebar just like this one: http://www.lullabot.com/articles/moving-cck-field-changes-from-dev-to-live

Richard R. Cahilig
http://chr05210084.com

Comments

niklp’s picture

Dude you can do that with theming. You should create a node template for the node type that you want to have the similar entries on, then you can easily position a new region in the template and place the block there. Alternatively, you can call a block manually in template file, or in your template.php file you could create a new variable.

This is all done using a normal block, but just being a bit more flexible with your options. I suggest you get hold of the Pro Drupal book, or read the free theming chapter at that link which might help you out.

Christefano-oldaccount’s picture

Status: Active » Fixed

I think this has been answered. Besides, Lullabot is using Similar by Terms, not Similar Entries.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

asbdpl’s picture

Hi,

I'm also looking for an similar content add-on that appears inside the node, not in blocks; at first I was hoping that Similar Entries would provide a view, but it doesn't (like all similar modules).

After discovering this support request, I tried to create a node template for the "story" content type (node-story.tpl.php), but so far couldn't get the content from the Similar Entries module to show up. So far, I don't even understand with which variable from http://drupal.org/node/11816 to reference the Similar Entries block. Maybe someone could provide a code snippet for this?

Thanks , -asbdpl

deekayen’s picture

Does perhaps the panels module help you do what you're wanting?

asbdpl’s picture

Hi deekayen,

no, Panels allow a flexible layout for something like a page in a printed magazine, on which nodes can be placed; Panes does not modify what's displayed *inside* a node (at least I've not found a functionality like this).

CCK with a viewfild would do the trick, but require a similarity engine that provides a view - which none of the available modules do. If some magic with theming is the way to go, I'll try it; but at the moment I simply don't understand what to do.

Regards, -asb