Hi

Just woundering if i am missing something really obvious. I have a block setup with the input format filter setup and in the body of the block i have "[node:24 title teaser more]"

So it works great, it shows node 24 in the block with the read more link at the bottom. My only problem is can i set a lenth of the block to for example 10 lines of code. Maybe its not possiable with this module.

If anyone could help, i would be really greatful
Thanks very much
Solly

Comments

AlexisWilke’s picture

Status: Active » Fixed

Solly,

I suppose that by "10 lines of CODE" you mean 10 lines of text from your node.

Teasers can be tweaked to be smaller in Drupal (Administer, Content management, Post settings, Length of trimmed posts). You can also create a teaser (summary) in that specific node and make it the size you need it to be.

I suppose the InsertNode system could have such a feature, but that's not really the purpose of the module at this time...

Also, the newer -dev version includes a theme for all the parts including the teaser:

/**
 * Theme the teaser of the node.
 */
function theme_InsertNode_teaser($node) {
  return '<div class="insert-node-teaser">' . node_view($node, TRUE, FALSE, FALSE) . '</div>';
}

You could write your own code in your theme and replace the node_view() call or tweak what the function returns.

Thank you.
Alexis Wilke

Status: Fixed » Closed (fixed)

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