Is there anyway to only return content types of, for example, Stories. I am trying to show related articles on my site - and i dont want newsletters, and images, and polls etc showing up in the list.

Please advise.

Many thanks

Comments

spiderman’s picture

Version: 5.x-0.x-dev » 6.x-1.0
Assigned: Unassigned » spiderman

Currently no, but this is a great idea, and relatively easy to add. I'll look at rolling a patch for this into the 6.x branch, and it should be straightforward to backport (if someone is still using 5.x).

verta’s picture

subscribing!

davidzz’s picture

subscribing

msmithcti’s picture

I would find this feature very useful also. Looking forward to having this included in the module.

spiderman’s picture

Status: Active » Needs review

I've just committed a patch for this which provides a new set of options on the block configuration page to select which content types to consider when searching for related content.

This should get rolled into the -dev release shortly, so if someone can test and confirm it's working alright, I'll close this ticket and roll up a 1.1 release soon!

Commitdiff is here: http://drupalcode.org/project/related_block.git/commitdiff/122b48c

spiderman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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