I don't know how the "read more" is created, but when you add the teaser of a panel node, it don't show the "read more" link.

Thanks in advance, as usual, ANY IDEAS are welcome

#3 P1020980.jpg113.39 KBnahuel
Members fund testing for the Drupal project. Drupal Association Learn more


dawehner’s picture

try out to click:

Display links
Check here to display the links with the post.
merlinofchaos’s picture

It is probably the responsibility of the node_view that provides the teaser to set the readmore link which is ordinarily set by core when it splits the teaser from the body. Since panel nodes don't do that I bet we're simply not setting $node->readmore = TRUE when we return the teaser.

nahuel’s picture

113.39 KB

@merlinofchaos: You really made my day.

just added:

$node->readmore = TRUE;

After the line 245 at: you modules/panels/panels_node/panels_node.module

Do you think that this could be added to next release? (i don't quite understand the cvs architecture and politics).

I'm so happy, I want to share this picture of "my office", and wish all of you could be here.

merlinofchaos’s picture

Status: Active » Fixed

Checked this change into CVS. You'll see it in beta2.

Status: Fixed » Closed (fixed)

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

Annie Rothenberg’s picture

Status: Closed (fixed) » Active

I'm having this same problem. I just created a new panel node and each pane is a teaser for another node. In the settings I checked the box: "Include node links for "add comment", "read more" etc." but the "read more" link isn't showing up. Any help is appreciated!

arnold_mad’s picture

also have this problem - any solution ?

arnold_mad’s picture

no one can help on that ?

merlinofchaos’s picture

Status: Active » Closed (fixed)

I had to read this about a dozen times before I figured this out.

The problem is that #6 is a different question than the original post. This is a lesson to all that when you re-open an issue, please be sure that the issue you're re-opening is actually you're issue.

In this case, it's probably simply that the node you're putting into the panel node does not have a 'read more' link because Drupal is not giving it one. Drupal ordinarly provides a read more link only on nodes where the teaser is different from the body. That's not Panels related at all.

Reverting to original status. Please do not discuss #6 in this issue. If you insist, you can open another issue.

arnold_mad’s picture

just wanted to mentioned that I solved my issue as my nodes.tpl.php was messed up (so not panels fault).

Annie Rothenberg’s picture

Whoops, really sorry about that. I'm very much a newbie at all of this and was trying to be careful not to create a duplicate issue. In any case, your response cleared up what my issue was so thank you!