I am using the readmore module, and it is placing the 'readmore' link at the end of my teaser as I chose, but it is not removing 'readmore' from the links area. Is this possible? It seemed to be possible according to angry donuts (but his snippet doesn't work for me either).

Thanks,
Maria

Comments

mcurry’s picture

Category: bug » support

So many things can have an effect: the theme in use (perhaps the theme's node.tpl.php or page.tpl.php always add a 'read more' link to the links block), other modules in use (may have their own 'read more' link insertion), etc.

So, without knowing what's cooking on your site, I have to say that I can't be of much help - unless you are experiencing this behavior with the default drupal theme, and no other modules installed/enabled (in other words, does this happen when you eliminate all the other possible causes?)

mariagwyn’s picture

I turned off all excess modules, and am still having the same problem. I am not using the default theme, but my node.tpl.php file has the following php to place links (seems pretty much like other themes):

  <?php if ($links): ?>
    <div class="node-links">
      <?php print $links; ?>
    </div>
  <?php endif; ?>

Maria

mcurry’s picture

ok, I'm stumped.

Please copy the ed_readmore module version from the settings page (Looks like $Id: blah $) and paste it here. I need to verify the version you are using.

Is this running on a public server so I can see it myself? If so, please send me the URL. exodusdev [[at]] gmail.com

furmans’s picture

This problem appears to be due to the order that the system modules are being executed. The modules have weights so that the order of execution can be controlled, but it's controlled somewhere during installation.

Here's the SQL that you need to workaround the problem:

UPDATE system SET weight=1 WHERE name='ed_readmore';

I also had this problem in the adsense_injector and pager modules. Once I have a moment, I'll try to post a patch to the *.install files to set the module weights correctly during module installation.

You can see an example of this working at: inventorspot.com

monkeybeach’s picture

Hm, I have exactly the same issue and thought 'aha here's the solution'

However I've just opened up my database only to find there is no table named 'ed_readmore' or anything remotely like it.

Could the module have a bug that doesn't generate the database when its activated?

mcurry’s picture

ed_readmore doesn't create a database table of any kind. That's why you can't finde one. :D

monkeybeach’s picture

lol yeah i realised the SQL wasn't looking for a table about a minute after posting :)

my bad!

mcurry’s picture

Well, actually, it is looking for the {system} table :D

The inability to edit one's own comments to an issue is frustrating, isn't it?

todd nienkerk’s picture

Status: Active » Closed (won't fix)

No new functionality will be added to 5.x. Closing after more than a year of inactivity.