Hi,

I've installed the Read More Tweak module to separate the "read more" from the other links (e.g. comments), and place it at its own line so that it becomes more visible. However, after installing Node Teaser module, there are no "read more" links at all; they all disappeared...

Any clue?

BTW
The Node Teasers project page says: "Additionally, admins can select (...) whether posts should display a 'continue reading' link."
I haven't seen any setting for this - am I overlooking something?

Cheers,
Marc

Comments

Marc Bijl’s picture

An issue about this problem can also be found at the Read More Tweaks list:
- http://drupal.org/node/118987

Marc Bijl’s picture

Thought some additional info might be helpfull :)

Status report

  • Drupal: 5.1
  • Configuration file: Protected
  • Cron maintenance tasks: Last run 2 days 23 hours ago
  • Database schema: Up to date
  • File system: Writable (public download method)
  • GD library: bundled (2.0.28 compatible)
  • MySQL database: 4.1.15
  • PHP: 4.4.4-0.dotdeb.3
  • Unicode library: PHP Mbstring Extension
  • Web server: Apache/1.3.33 (Debian GNU/Linux) mod_layout/3.2 PHP/4.4.4-0.dotdeb.3 with Suhosin-Patch mod_ssl/2.8.22 OpenSSL/0.9.7e

Read More Tweak settings

  • Relocate read more link from links section: turned on
  • Put read more inline in teaser: turned off
  • The "read more" text to display in the teaser: read more »

Node Teaser settings

  • If node teaser is empty: Drupal default
  • Collapse node teaser: turned off
  • Show Teaser on specific pages: Show on every page except the listed pages
  • Pages (listed): Empty
ideaoforder’s picture

Is this with the latest version of both modules? If you're using anything other than the newest Node Teaser (5.x.1.1), there will be a conflict. I just installed Read More Tweak *after* Node Teaser and everything's working perfectly. Both modules have a weight of 0.

BenK’s picture

I just installed the latest official releases of both modules (Node Teaser 5.x-1.1 and Read More Tweak 5.x-1.1) and, unfortunately, the problem persists.

When I only had the Node Teaser module enabled everything worked fine. But once I enabled the Read More Tweak module, the "read more" links suddenly disappeared on any node with a manually written (non-Drupal default) teaser.

If you need more system specs for diagnosis, just let me know what information would be helpful.

I'd love to get this issue solved, since I hope to use both modules in the base installation that I use for all of my sites. Thanks!

Marc Bijl’s picture

Using the latest versions of both modules, the problem's still there...

Marc Bijl’s picture

Hmm, in nodeteaser.module I found this piece of code:

/**
 * Module configuration settings
 * @return settings HTML or deny access
 */

function nodeteaser_admin_settings() {
  /*$form['nodeteaser_readmore'] = array('#type' => 'checkbox',
    '#title' => t('"continue reading" link'), 
    '#default_value' => variable_get("nodeteaser_readmore", FALSE), 
    '#description' => t('Display a "continue reading" link below teasers'), 
    '#required' => FALSE,
    '#weight' => 0,
  );*/

This is about a continue reading link below the teaser and it's implemented as a comment. Thought I found the cause of the issue. Unfortunately I was wrong... But can it be this has to do something with it?

ideaoforder’s picture

That code was from the 4.7.x version of Node Teaser. It basically added in the Read More Tweak functionality. I thought this would be better as a separate module--and it is. Read More Tweak is great.

I'll try again to reproduce the error given the additional info above.

We'll get to the bottom of this!

BenK’s picture

Any developments with finding the cause of this bug? Let me know what I can do to help...

ideaoforder’s picture

No luck yet--the key problem is that I can't tell whether Node Teaser isn't playing by the new rules (Drupal 5 changed the way teasers get displayed and formatted) or whether some other modules haven't been updated to accomodate this change. The code to NT is pretty darn simple, and the code to RMT is pretty complicated--so I'm kinda hoping they'll figure something out on their end. But I notice that NT conflicts with some CCK formatting stuff too...so I'm at a bit of a loss here. Any suggestions?

urwas’s picture

Hi, i've got the same problem now... a few days bevore i updated to 5.1 and then was trying all the new modules ;-)
But then i had the same problem with the read-more link. The solution with changing the module weight to 99 worked fine for me with NT version 5.x-1.0.

But today i found another bug wich i could downbreak to Nodeteaser 5.x-1.0. So i switched to 5.x-1.1 and now node teasers are all gone... Regardless if i turn Read More Tweak or NT off (or whatever). When i use 5.x-1.0 it works again, but then i can't use PHP Snippets (http://drupal.org/node/136452).

It seems like NT does not care any longer about the more-link thing. One difference in code is, the old NT returned $node but the new NT returns $node->teaser. Maybe this could be the point?!

gravit’s picture

I also have run into this issue - It seems the readmore link does not get inserted if I have customized my teaser with the node teaser module. After printing out the $node object to try and offer some debug help, It seems that the readmore link still gets correctly added to the $node->content['body']['#value'] - but somehow the phptemplate engine is not printing that out when running print $content in the tpl file. Very odd - instead it is printing out the $node->teaser on nodes that have a customized teaser.

I tried to look at the node teaser module to see what to modify, but I couldn't find anything relating to a view operation, so I am a little beyond myself...

Hope this info helps!

rosw’s picture

I'm having the same problem too. I'm using Node Teaser 5.x-1.1 and Read More Tweak 5.x-1.2 and have set the module weight of RMT to 99 using Module Weight 5.x-1.x-dev. Being a newbie I have no idea how to do an sql query as suggest in the Read more tweak support list. Has anybody solved it please?

op’s picture

See my post at http://drupal.org/node/118987#comment-824111. My solution involves a patch to the RMT module.