I have a problem using "Item count" for the block. By default it is set to 5 - and it stays that way not matter which number I set it to. After saving, the block configuration shows the Item count set to, for example, 3, but in the block there are still 5 items displayed...

Comments

webmasterkai’s picture

Status: Active » Needs review
StatusFileSize
new1.38 KB

5 is hardcoded. http://drupal.org/node/151084
Apply patch to get it working.

Anonymous’s picture

I will have a look at this and report back. Thanks!

Anonymous’s picture

Status: Needs review » Needs work

Unfortunately, the patched file produces the same behaviour as the original...

miiimooo’s picture

StatusFileSize
new1.93 KB

This is a modified version that mainly offers new (additional non-conflicting) functionality to specify content types the similar nodes should be limited to but also fixes the count bug.

Hope this helps.

Anonymous’s picture

It works nice and smooth. Will this become part of the "official" similarterms?

Eugene Fidelin’s picture

Thaks for cool module and good patch!

sun’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1.03 KB

New patch, only contains required changes. Thus, setting to RTBC.

cridenour’s picture

I posted nearly the same code as sun (different variable name :-P ) in the other thread. Does anyone have access to CVS to update this module?

rmiddle’s picture

Status: Reviewed & tested by the community » Fixed

I am going to make this as a dupe of http://drupal.org/node/151084 even though this ticket predates that ticket. Again this issue is fine in 6.x-1.x and if fixed in cvs and 5.x-1.2 when released.

Thanks
Robert

Anonymous’s picture

Status: Fixed » Closed (fixed)

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