I go to Administer>Tabbed Block Settings>Edit>Add block to list - then I choose an existing aggregator block from the drop down and Add Block. When I look at the resulting tabbed block each aggregator block added as a tab in this way returns errors (even though it is a functioning aggregator block on it's own and has content.) The tab title says "error! click here!" and there is a "Config. title Here" link at the bottom of the block that takes you to a "Page not found"

Works fine with other existing node based blocks.

Comments

joetsuihk’s picture

Assigned: Unassigned » joetsuihk

thank you for using this module.

the problem happens in some blocks that do not use block title by default.
so this module cannot find a title for the tab.
the module provide an error message, and originally will link back to the block setting page,
and let user enter the title.

to solve it quickly, set aggregator block title.

and i will review the module code. seems bugs there in error message.

VicBredehoeft’s picture

Title: Aggregator Feeds Give Error » Aggregator Feeds Give Error & Views with no data

Hello,
We have noticed that problem with Aggregator fees and we have noticed that view containing no data give the same error. Even when view is configured with a title, if there is no data which is possible when we are dealing with data that may expire, we get the error.
Thanks much,
Vic

VicBredehoeft’s picture

Hello,
We have tried putting the feed in it's own block making sure there is a title and we have tried putting the feed into tabbed block making sure the title is in the feed. Either way produces the same results for us. Any idea what is happening?
Thanks much,
Vic

VicBredehoeft’s picture

Hello,
I created a new block with the following custom code and title and it works great in the tabbed block module. For some reason, views and aggregator blocks, whatever they output isn't passing the title back to your module and/or your module doesn't appear to always be getting the title. Not sure why, but whenever we do something manual, it works great. When we use modules that generate blocks as output, in most cases we are seeing this issue. Any help would be most appreciated as we have a new launch date of August 20th, 2007 and were really hoping to save time using your module and the other modules to feed to your tabbed block. Thank you!
Vic

$block = module_invoke('aggregator', 'block', 'view', 'feed-1');
print $block['content'];
joetsuihk’s picture

in case you are still watching this issue,
I am working on a better code that do not need hard code.
hope can finish it within 3 hours.

the bug happen in coupe places, in special combinations of modules,
so some more time needed.
thx for waiting and testes~

joetsuihk’s picture

StatusFileSize
new2.76 KB

ok, here comes a patch
it works find with aggregator module under my test, with title,
shows "Nothing here" to represent empty block content

joetsuihk’s picture

Status: Active » Needs review
joetsuihk’s picture

StatusFileSize
new2.99 KB

Ops, a bug in previous patch

plz apply this patch to HEAD

joetsuihk’s picture

Status: Needs review » Fixed

commited

Anonymous’s picture

Status: Fixed » Closed (fixed)