It would be nice if there were more configuration options for each link type:

  • a weight (to select different orderings for link groups)
  • a title (to put the particular link group in its own block)
  • a limit (on the number of links displayed)

Also, it would be great if taxonomy vocabularies could be activated/deactivated for use with taxonomy links.

Here is a patch to add these features.

CommentFileSizeAuthor
relatedlinks.module.patch_9.txt18.32 KBcolan

Comments

Zen’s picture

Status: Needs review » Fixed

Most of the UI additions in this patch have been committed to CVS - thanks :) The rest will be dealt with in http://drupal.org/node/91543 .

-K

colan’s picture

One more thing:

if (!isset($default)) {

should be:

if (!isset($defaults)) {

...in _relatedlinks_get_type_defaults(). (You forgot an "s".)

Zen’s picture

default to defaults - fixed :)

Cheers,
-K

Anonymous’s picture

Status: Fixed » Closed (fixed)
Anonymous’s picture

Category: feature » bug
Status: Closed (fixed) » Active

Thanks for your work, being able to deactivate vocabularies is exactly what i was searching for. I've updated the related_links module, executed update.php and see all the wonderful new config options in admin->settings->related_links. Great.

However, I now get the following PHP error on any page that wants to display the block for related terms:

* warning: array_merge(): Argument #2 is not an array in /home/figu/public_html/www.figu.org/modules/relatedlinks/relatedlinks.module on line 144.
* warning: Invalid argument supplied for foreach() in /home/figu/public_html/www.figu.org/modules/relatedlinks/relatedlinks.module on line 727.

The block is displayed properly when only parsed links are shown. Any help is appreciated.

Thanks,
Stephan

P.S. Sorry if this is the wrong way of asking for help, I actually didn't want to file a new bug report, since I don't know whether this really is a bug or not.

Zen’s picture

Category: bug » feature
Status: Active » Closed (fixed)

Stephan: Please see: http://drupal.org/node/102971

The best way to get help is to:

a) Search the issue queue for the module and if you find your issue there, add a comment to it..
b) If you don't find your issue, open a _new_ issue.

Cheers :)

-K