Hi,

i would love to see an option to let it open all the aggregator links in a new window... i've changed the aggregator module to do so, but it have no effect on mysite.. that would be awesome!

thanks and keep up the good work!

Andreas

Comments

agentrickard’s picture

Status: Active » Closed (won't fix)

I'm not going to add that; it is much too narrow a feature. But here's how you can.

Edit your Format plugins (default.theme and teaser.theme).

During the foreach loop, check if ($element['type'] == 'feed' || $element['type'] == 'aggregator')

If TRUE, write the link differently.

See http://therickards.com/api/function/theme_mysite_hook_item/MySite for details.

For extra Drupal bonus points, you could use a theme override instead of altering the core MySite files.

http://drupal.org/node/11811

agentrickard’s picture

mdekkers and his team is currently writing a patch for this:

http://drupal.org/node/174673

It will be incorporated into the 5.x.3 release.

Goose4all’s picture

hmm, thank god i've found this thread again.. ;)

thanks for the tips and thanks for the great news!

Andreas

agentrickard’s picture

I think the patch in the other thread should work. It goes against MySite HEAD.